Skip to content

Instantly share code, notes, and snippets.

@fbidu
Last active August 21, 2017 14:23
Show Gist options
  • Select an option

  • Save fbidu/0f2ef4754514da4b6b21c2ad675260fb to your computer and use it in GitHub Desktop.

Select an option

Save fbidu/0f2ef4754514da4b6b21c2ad675260fb to your computer and use it in GitHub Desktop.
Export an Elastic Beanstalk environment variables to a bash-compatible env file
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