💾 Archived View for cfdocs.wetterberg.nu › using-cfn-updating-stacks-changesets.gemini captured on 2024-05-12 at 15:09:35. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

Updating stacks using change sets

Search

When you need to update a stack, understanding how your changes will affect running resources before you implement them can help you update stacks with confidence. Change sets allow you to preview how proposed changes to a stack might impact your running resources, for example, whether your changes will delete or replace any critical resources, AWS CloudFormation makes the changes to your stack only when you decide to execute the change set, allowing you to decide whether to proceed with your proposed changes or explore other changes by creating another change set. You can create and manage change sets using the AWS CloudFormation console, AWS CLI, or AWS CloudFormation API.

Creating a change set

Viewing a change set

Executing a change set

Deleting a change set

Example change sets

Change sets don't indicate whether AWS CloudFormation will successfully update a stack. For example, a change set doesn't check if you will surpass an account limit, if you're updating a resource that doesn't support updates, or if you have insufficient permissions to modify a resource, all of which can cause a stack update to fail. If an update fails, AWS CloudFormation attempts to roll back your resources to their original state.

limit

resource

permissions

Change Set Overview

The following diagram summarizes how you use change sets to update a stack:

{P Image}

You can also delete change sets to prevent executing a change set that shouldn't be applied.