hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.86k stars 9.21k forks source link

[Enhancement]: Support RetainExceptOnCreate for aws_cloudformation_stack #39580

Open lorengordon opened 1 month ago

lorengordon commented 1 month ago

Description

AWS added a new option RetainExceptOnCreate option to the CreateStack API, and a few other related operations. I would like to be able to set this option when creating/updating a stack with Terraform. The attribute is not currently exposed by the resource aws_cloudformation_stack (according to its docs).

Affected Resource(s) and/or Data Source(s)

Potential Terraform Configuration

resource "aws_cloudformation_stack" "example" {
  ...
  retain_except_on_create = bool
}

References

Would you like to implement a fix?

None

github-actions[bot] commented 1 month ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue