Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How can a deploy to two Elastic Beanstalk environments from a single branch pipeline?

So, we have two different instances of a Node project running the same code on two different environments e an Elastic Beanstalk application.

I'm trying to automate the deploy with a branch Bitbucket pipeline for the master branch. The problem I encountered is that the first deploy runs fine, but the second one fails telling me that the application version already exists.

How can I accomplish this task?



1 answer

I guess I figured this out, I can set a custom VERSION_LABEL on the pipe configuration and this should suffice.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,469 views 3 10
Read article

Atlassian Community Events