Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Felipe Libório
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 27, 2021

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?

 

image.png

1 answer

0 votes
Felipe Libório
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 27, 2021

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
TAGS
AUG Leaders

Atlassian Community Events