Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save igorescobar/ad311158eba5755ed526 to your computer and use it in GitHub Desktop.
Save igorescobar/ad311158eba5755ed526 to your computer and use it in GitHub Desktop.
OpsWorks -> Elastic Beanstalk EnvVars
var envVars = JSON.parse($('.code').text()).play2.env_vars
, output = []
;
Object.keys(envVars).forEach(function (key) {
output.push(key + '="' + envVars[key] + '"')
});
console.log(output.join(" "))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment