💾 Archived View for cfdocs.wetterberg.nu › using-cfn-updating-stacks-changesets-view.gemini captured on 2021-12-04 at 18:04:22. Gemini links have been rewritten to link to archived content
View Raw
More Information
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
Viewing a change set
Search
After you create a change set, you can view the proposed changes before executing them. You can use the AWS CloudFormation console, AWS CLI, or AWS CloudFormation API to view change sets. The AWS CloudFormation console provides a summary of the changes and a detailed list of changes in JSON format. The AWS CLI and AWS CloudFormation API return a detailed list of changes in JSON format.
@
[ View a change set for nested stack \(console\) ]
- To view a change set for nested stacks \(console\)*
- In the AWS CloudFormation console, in Stacks, choose the name of the stack that contains the change set that you want to view.
- In the navigation pane, choose Change Sets to view a list of the stack's change sets.
- Choose the name of the change set that you want to view.The AWS CloudFormation console directs you to the change set's details page, where you can see the time the change set was created, its status, the input used to generate the change set, and a summary of the changes.[The details page for the change set.]In the Changes section, each row represents a resource that AWS CloudFormation will add, modify, remove, or show the status of dynamic.Add - AWS CloudFormation creates a resource when you add a resource to the stack's template.Modify - AWS CloudFormation modifies a resource when you change the properties of a resource in the stack's template.Remove - AWS CloudFormation deletes a resource when you delete a resource from the stack's template.Dynamic - AWS CloudFormation cannot determine the exact resource change action from the nested stack's template.NoteA modification can cause the resource to be interrupted or replaced (recreated). For more information about resource update behaviors, see Update behaviors of stack resources.To focus on specific changes, use the filter view. For example, filter for a specific resource type, such as AWS::CloudFormation::Stack. To filter for a specific resource, specify its logical or physical ID, such as DeadLetterQueue or NestedStack.
- In the Changes section, choose View nested change set of the nested change set you want to view.The AWS CloudFormation console directs you to the nested change set's details page. You can choose Go to root change set to view the root change set or, you can choose View parent change set to view the parent change set. For more information see, Change sets for nested stacks.[The details page for the nested change set.]
AWS CloudFormation console
Update behaviors of stack resources
Change sets for nested stacks
@
[ View a change set \(console\) ]
- To view a change set \(console\)*
- In the AWS CloudFormation console, in Stacks, choose the name of the stack that contains the change set that you want to view.
- In the navigation pane, choose Change Sets to view a list of the stack's change sets.
- Choose the name of the change set that you want to view.The AWS CloudFormation console directs you to the change set's details page, where you can see the time the change set was created, its status, the input used to generate the change set, and a summary of the changes.[The details page for the change set.]In the Changes section, each row represents a resource that AWS CloudFormation will add, modify, or remove.Add - AWS CloudFormation creates a resource when you add a resource to the stack's template.Modify - AWS CloudFormation modifies a resource when you change the properties of a resource in the stack's template.Remove - AWS CloudFormation deletes a resource when you delete a resource from the stack's template.NoteA modification can cause the resource to be interrupted or replaced (recreated). For more information about resource update behaviors, see Update behaviors of stack resources.To focus on specific changes, use the filter view. For example, filter for a specific resource type, such as AWS::EC2::Instance. To filter for a specific resource, specify its logical or physical ID, such as myWebServer or i-123abcd4.
AWS CloudFormation console
Update behaviors of stack resources
@
- To view a change set \(AWS CLI\)*
- To get the ID of the change set, run the aws cloudformation list-change-sets command.Specify the stack ID of the stack that has the change set that you want to view, as shown in the following example:AWS CloudFormation returns a list of change sets, similar to the following:
- Run the aws cloudformation describe-change-set command, specifying the ID of the change set that you want to view. For example:AWS CloudFormation returns information about the specified change set:The Changes key lists changes to resources. If you were to execute this change set, AWS CloudFormation would update the tags of the i-1abc23d4 EC2 instance. For a description of each field, see the Change data type in the AWS CloudFormation API Reference.For additional examples of change sets, see Example change sets.
aws cloudformation list-change-sets
aws cloudformation describe-change-set
Change
Example change sets