A Serverless 1.x plugin to manage environment variables with YAML and turn them into a .env file on deployment. Supports encryption with KMS, multiple stages and custom profiles.
MIT License
31
stars
11
forks
source link
Not compatible with latest version of serverless (1.60.5) #14
What happened?
Serverless Error ---------------------------------------
"abc" is not a valid sub command. Run "serverless env" to see a more helpful error message for this command.
What should've happened?
An environment.yml file should have been generated with a variable 'abc' of value 'abc'.
What's the content of your serverless.yml file?
service: test
provider:
name: aws
runtime: nodejs12.x
functions:
hello:
handler: handler.hello
What's the output you get when you use the SLS_DEBUG= environment variable (e.g. SLS_DEBUG= serverless deploy)
What did you do? sls env -a abc -v abc
What happened? Serverless Error ---------------------------------------
"abc" is not a valid sub command. Run "serverless env" to see a more helpful error message for this command. What should've happened? An environment.yml file should have been generated with a variable 'abc' of value 'abc'.
What's the content of your serverless.yml file?
service: test
provider: name: aws runtime: nodejs12.x
functions: hello: handler: handler.hello What's the output you get when you use the SLS_DEBUG= environment variable (e.g. SLS_DEBUG= serverless deploy)