Created
August 18, 2015 14:07
-
-
Save igorescobar/ad311158eba5755ed526 to your computer and use it in GitHub Desktop.
OpsWorks -> Elastic Beanstalk EnvVars
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
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