1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Hello.
The parameters you update may replace the resource.
As described in the document below, if the parameter type is "Replacement", if you update it, it will be replaced with a new resource.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html
If you want to keep the resources even if you delete the CloudFormation stack, the resources will be retained by creating it with "DeletionPolicy" set to "Retain".
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 4 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 4 Monaten
- AWS OFFICIALAktualisiert vor einem Jahr
Yes, DeletePolicy = Retain is possible. But, best practice is to keep resources linked to a stack all the time to be able to manage the resource config from the stack by updates to the template.