Forums

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

Deploy to multiple environment in a single step

Luis Magdariaga Orúe
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!
May 23, 2019

Hello, i am using bitbucket pipelines to build and deploy an application to AWS in 3 different production enviroment, but the problem is that we want to use the environment vars in a single step, so if tomorrow we add an extra production environment, we don't have to touch the pipeline, only add a production enviroment more. There is a way to include an kind of all production environment in the ´deployment´ command for bitbucket pipelines?

 

Thanks 

1 answer

1 accepted

0 votes
Answer accepted
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 23, 2019

Hi Luis,

Currently, you can only have a single deployment environment associated with a single step. So you would need create a new step with a deployment tag to the new environment.

Perhaps using YAML anchors may help you to remove some duplication across your deployment steps?

Thanks,

Phil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events