Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Configuring stage rollback

Focus mode
Configuring stage rollback - AWS CodePipeline

You can roll back a stage to an execution that was successful in that stage. You can preconfigure a stage for rollback on failure, or you can manually roll back a stage. The rolled back operation will result in a new execution. The target pipeline execution chosen for rollback is used to retrieve source revisions and variables.

The type of execution, either standard or rollback, displays in the pipeline history, pipeline state, and pipeline execution details.

Considerations for rollbacks

Considerations for stage rollback are as follows:

  • You cannot roll back a source stage.

  • The pipeline can only roll back to a previous execution if the previous execution was started in the current pipeline structure version.

  • You cannot roll back to a target execution ID that is a rollback execution type.

  • CodePipeline will use the variables and artifacts from the execution to which it is rolling back.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.