Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use one Deployment Environment for multiple steps?


So, am deploying an application to S3 and Invalidating a cloudfront cache in my pipeline. I have the deployment to s3 and cloudfront invalidation in separate steps. both steps are vital parts of the deployment process and I would like them to be included in one Deployment with bitbucket. But, it looks like I can only specify one deployment per step.

Should I combine both S3 deployment and Cloudfront invalidation into one step?

Current bitbucket-pipelines.yml:

Screenshot 2020-10-29 115522.png

1 answer

1 accepted

1 vote
Answer accepted

Hi Joshua and welcome to the community.

At the moment, I'm afraid that it is not possible to use a deployment environment in multiple steps.

If you need both of them to be part of the same deployment, then combining them in a single step would be the way to go here.

We have a feature request for what you are asking in our issue tracker:

I would suggest adding your vote there (by selecting the *Vote for this issue* link), as the number of votes helps the development team and product managers better understand the demand for new features. You can also add yourself as a watcher (by selecting the *Start watching this issue* link) if you'd like to get notified via email on updates. When there is an update, it will be posted in this public ticket.

Please note though that we don't provide ETAs and implementation of new features is done as per our policy here:

Please feel free to let me know if you have any other questions.

Kind regards,

Thank you! I will upvote this feature request.

Like Theodora Boudale likes this

Suggest an answer

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

221 views 2 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you