-
Notifications
You must be signed in to change notification settings - Fork 6
Not compatible with serverless-dotenv-plugin #1
Comments
Hi @ronaldborla. I use Do you see any errors or can you provide more informations what exactly doesn't work for you? So I created a functions:
func1:
handler: ${env:TEST_FUNC1}.handler
func2:
handler: ${env:TEST_FUNC2}.handler In the main service: test1
plugins:
- serverless-import-config-plugin
- serverless-dotenv-plugin
custom:
import:
- ./imported.yml
provider:
name: aws
package:
individually: true ... and I had no issues with using env variables from the Please let me know how I can help here. Thanks. |
I've also had some problems replacing variables in imported files (like |
I hit this issue today too. Reverting to 2.10.0 solved it for me. Thank you @ignacioalles |
Can confirm also that when upgrading Would be great if you can take a look @KrysKruk |
@LaszloDev I came up to the same bug after updating |
For some reason, the imported file is not compatible with this plugin: https://github.com/colynb/serverless-dotenv-plugin
It does not use environment variables.
The plugin looks promising, I would like to contribute but I'm a bit occupied at the moment. I hope you can check this out. Thanks!
The text was updated successfully, but these errors were encountered: