Skip to content

Instantly share code, notes, and snippets.

@fbidu
Created August 21, 2017 14:32
Show Gist options
  • Select an option

  • Save fbidu/24e4d5eeb7cec851c985b4aa0459564c to your computer and use it in GitHub Desktop.

Select an option

Save fbidu/24e4d5eeb7cec851c985b4aa0459564c to your computer and use it in GitHub Desktop.
Export an Elastic Beanstalk env vars to a `docker run` compatible argument list
eb printenv <environment-name> | tail -n +2 | awk '{print "-e \"" $1 "=" $3 "\" \\"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment