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

View Raw

More Information

⬅️ Previous capture (2021-12-03)

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

Modifying a stack template

Search

If you want to modify resources and properties that are declared in a stack template, you must modify the stack's template. To ensure that you update only the resources that you intend to update, use the template for the existing stack as a starting point and make your updates to that template. If you are managing your template in a source control system, use a copy of that template as a starting point. Otherwise, you can get a copy of a stack template from AWS CloudFormation.

If you want to modify just the parameters or settings of a stack (like a stack's Amazon SNS topic), you can reuse the existing stack template. You don't need to get a copy of the stack template or make modifications to the stack template.

If your template includes an unsupported change, AWS CloudFormation returns a message saying that the change is not permitted. This message might occur asynchronously, however, because resources are created and updated by AWS CloudFormation in a non-deterministic order by default.

Update a stack's template \(console\)

AWS CloudFormation console

What is AWS CloudFormation Designer?

AWS Resource Types Reference

No interruption

Some interruptions

Replacement

AWS::RDS::DBInstance

ModifyDBInstance

Ref function

Fn::GetAtt function

Get and update a template for a stack \(CLI\)

https://docs.aws.amazon.com/cli/latest/reference/cloudformation/get-template.html