rurri / serverless-resources-env

Serverlss framework plugin, which after a deploy, fetches cloudformation resource identifiers and sets them on AWS lambdas, and creates local ./.serverless-resources-env/.<region>_<stage>_<function-name> file
MIT License
20 stars 7 forks source link

Get variables from CF output #5

Closed mzuniga84 closed 6 years ago

mzuniga84 commented 7 years ago

Would be possible to create environment variables from cloudformation outputs?

Thank you.

rurri commented 7 years ago

Yup! Thats what this plug-in is for. If you want to use the outputs manually, you can use the .properties file located at: ./serverless-resources-env/.<region>_<stage>_<function-name

Otherwise the environment variables are automatically set.