Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serverless-offline-ssm-provider - sls deploy no such file .env #71

Closed
ed-sparkes opened this issue Jul 5, 2019 · 2 comments
Closed
Labels

Comments

@ed-sparkes
Copy link

sls deploy seems to required the file exists even though presumably this is offline plugin is meant to be used offline only, i dont want to commit my .env file as its got sensitive information on, when using sls deploy i would hope it would use ssm rather than the offline fallback

any thoughts on this ?

thanks, Ed

@markronquillo
Copy link

The plugin should have a config where it will only be applied in a given stage e.g. dev

Right now, I just make sure that serverless-offline-ssm-provider is not included in the plugins in production.

@godu
Copy link
Contributor

godu commented Sep 30, 2019

@ed-sparkes You're right. In the next release, serverless-offline-ssm-provider doesn't throws error if the file isn't present.
serverless-offline-ssm-provider should stay a fallback of original aws provider.

@godu godu closed this as completed Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants