Breaking change in "aws_ram_resource_share" introduced in 4.17.0 #25156
Labels
bug
Addresses a defect in current functionality.
regression
Pertains to a degraded workflow resulting from an upstream patch or internal enhancement.
service/ram
Issues and PRs that pertain to the ram service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
N/A
Expected Behavior
After introducing
permission_arns
attribute toaws_ram_resource_share
, but still documenting it as "Optional" in the Docs, I would expect it will not attempt to clean thepermission_arns
that are set up by AWS by default, and specifically, I'd not expect the resource to be replaced. This broke a lot of things:Actual Behavior
It replaced RAM Shares (in our case for Transit Gateway).
The problem is that new RAM Shares have the same name and tags as the old RAM Shared (and because of it they'are indistinguishable to the
aws_ram_resource_share
datasource (because the datasource does not allow filtering bystatus
attribute).Steps to Reproduce
4.17.0
terraform apply
The text was updated successfully, but these errors were encountered: