1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
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.