A package to extract environmental variables from serverless.env.yml for local development.
pip install serverless-env-yml-parser
if os.environ['STAGE'] == 'LOCAL':
from sls_env_yml_parser import yml_parser
yml_parser.parse_env_yml("serverless.env.yml")
The source code is currently hosted on GitHub at: https://github.com/e-ndrus/sls-env-yml-parser
All contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome.
Issues are posted on: https://github.com/e-ndrus/sls-env-yml-parser/issues