Skip to content

Instantly share code, notes, and snippets.

@fulippo
Created March 21, 2016 10:56
Show Gist options
  • Save fulippo/7486b1c5fe7683831b0a to your computer and use it in GitHub Desktop.
Save fulippo/7486b1c5fe7683831b0a to your computer and use it in GitHub Desktop.
Retrieve config from AWS during deploy
EB_SCRIPT_DIR=$(/opt/elasticbeanstalk/bin/get-config container -k script_dir)
EB_APP_STAGING_DIR=$(/opt/elasticbeanstalk/bin/get-config container -k app_staging_dir)
EB_APP_USER=$(/opt/elasticbeanstalk/bin/get-config container -k app_user)
EB_SUPPORT_DIR=$(/opt/elasticbeanstalk/bin/get-config container -k support_dir)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment