1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- Réponse acceptéedemandé il y a un an
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a 3 ans
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.