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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.