Last active
August 21, 2017 14:23
-
-
Save fbidu/0f2ef4754514da4b6b21c2ad675260fb to your computer and use it in GitHub Desktop.
Export an Elastic Beanstalk environment variables to a bash-compatible env file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| eb printenv <environment-name> | tail -n +2 | awk '{print "export " $1 "=\"" $3 "\""}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment