Open petewilcock opened 6 years ago
+1!
Although I wonder if termination protection should be a separate resource from the stack itself? This is how it's modelled in the AWS API, and it would allow us to enable it for stacks which aren't managed themselves within Terraform using a data provider + termination protection resource.
Can also enable termination protection directly when creating the stack...
Any idea if this enhancement is coming? It will be really helpful having termination_protection
attribute in Terraform aws_cloudformation_stack
.
:+1:
I see the issue is closed but there still isn't an parameter for updating termination protection on stacks in the cloudformation resource. Is this forthcoming?
Agree
Any news on this one?
Affected Resource(s)
Background
AWS released Termination protection for Cloudformation Stacks in August 2017:
https://aws.amazon.com/about-aws/whats-new/2017/09/aws-cloudformation-provides-stack-termination-protection/ https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html
Feature Request
Addition of a
termination_protection
attribute in theaws_cloudformation_stack
resource definition.