How to deploy to AWS Elastic Beanstalk using bitbucket pipelines?

I am trying to use Bitbucket piplines to deploy to AWS Elastic Beanstalk. Using suggested guide by Atlassian. After following configuration guide test gets me error:

python beanstalk_deploy.pyFailed to upload artifact to S3.An error occurred (InvalidRequest) when calling the PutObject operation: Missing required header for this request: x-amz-content-sha256.

Anyone had same problem? OR have any suggestions what is wrong?

2 answers

0 votes
Tom Kane Atlassian Team Nov 30, 2016

You might want to try the integration listed here:

I successfully used the CodeDeploy integration but I haven't tried the Elastic Beanstalk one.

Check your environment variables. My AWS_DEFAULT_REGION variable was incorrect.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

196 views 3 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you