-
Notifications
You must be signed in to change notification settings - Fork 35
yml file inclusion #79
Comments
Good question! It should given we use serverless directly to parse the config but if it's not working for you then clearly we need to fix something. Does using an absolute path work? What is the error? |
I use file inclusion to include environment variables and then use in from my lambdas. In lambda they available under
the same in this case:
and in case with absolutely absolute path. The only content of
|
as far as I see now, the problem is not in yml file inclusion, but it is in not passing values from |
@cbaron Let's re-evaluate passing env to lambda. Seems like it's useful. |
any updates on this? do you plan to implement this? |
I will try to carve out some time this week. As always, you're welcome to put up a PR. |
does emulator currently understand following syntax in serverless.yml?
environment: ${file(config/${self:provider.stage}.yml)}
I use it to sepparate configuration for different stages and it work on AWS but does not in emulator
The text was updated successfully, but these errors were encountered: