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

aws-cloudformation-deploy:0.10.0 doesn't handle no updates to stack gracefully


BitBucket Cloud Pipelines

aws-cloudformation-deploy Pipe version 0.10.0

TLDR; If a stack is in UPDATE_ROLLBACK_COMPLETE state and the next pipeline running against that stack results in "No updates are to be performed for stack", the pipe fails because stack state isn't UPDATE_COMPLETE


The scenario that occurred:

  1. A change was erroneously committed to the CloudFormation template which broke the AWS deployment
  2. AWS failed to deploy and rolled back, causing the pipeline to fail (GOOD)
  3. The change was rolled back to original form and committed, pipeline reruns
  4. Pipeline fails as it runs this Pipe because there are no changes to be made in AWS (template and params are same as current state) but pipe fails because final state is not what it expects - UPDATE_COMPLETE



It's expected that the PIPE can detect when no changes are needed and treat that as a success regardless of the CloudFormation stack. This is how the AWS stack update process works and stack state changes only occur when changes are actually made.



Digest: sha256:24ad7558d24c7ce4bd5bf42272cd4a0b269248c7ac188277fbd314a337eb461d

Status: Downloaded newer image for bitbucketpipelines/aws-cloudformation-deploy:0.10.0

INFO: Using default authentication with AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.

INFO: Found credentials in environment variables.

INFO: Using stack template from ./deploy.yml for deploy.

INFO: Validating the template.


WARNING: No updates are to be performed for stack STACKNAME_IN_UPDATE_ROLLBACK_COMPLETE.

INFO: Waiting for update COMPLETE status...

✖ Failed to update the stack. Status UPDATE_ROLLBACK_COMPLETE.


1 answer

0 votes

Hi @Jeff Taylor

Thank you for your suggestion.

We'll investigate this case and notify you.


Best regards,
Oleksandr Kyrdan

Suggest an answer

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

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,441 views 4 7
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