From 88f7445b231e6ae6a776705920ad76aa09c082ea Mon Sep 17 00:00:00 2001 From: Thomas Riboulet Date: Sat, 7 Mar 2015 01:09:15 +0000 Subject: [PATCH] updating config vars --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index af69401..184a8a4 100755 --- a/deploy.sh +++ b/deploy.sh @@ -7,7 +7,7 @@ SHA1=$1 docker push mcansky/sinatra_hello:$SHA1 # Create new Elastic Beanstalk version -EB_BUCKET=sinatra-hello-bucket +EB_BUCKET=elasticbeanstalk-eu-west-1-598354601320 DOCKERRUN_FILE=$SHA1-Dockerrun.aws.json sed "s//$SHA1/" < Dockerrun.aws.json.template > $DOCKERRUN_FILE aws s3 cp $DOCKERRUN_FILE s3://$EB_BUCKET/$DOCKERRUN_FILE @@ -15,5 +15,5 @@ aws elasticbeanstalk create-application-version --application-name sinatra_hello --version-label $SHA1 --source-bundle S3Bucket=$EB_BUCKET,S3Key=$DOCKERRUN_FILE # Update Elastic Beanstalk environment to new version -aws elasticbeanstalk update-environment --environment-name sinatra-hello-eb1 \ +aws elasticbeanstalk update-environment --environment-name sinatra-hello-eb1-dev \ --version-label $SHA1