[Bug]: aws_ec2_transit_gateway_route_table_association resource is getting replaced #32195
Labels
bug
Addresses a defect in current functionality.
service/transitgateway
Issues and PRs that pertain to the transitgateway service.
Terraform Core Version
Terraform v1.3.7
AWS Provider Version
provider registry.terraform.io/hashicorp/aws v5.5.0
Affected Resource(s)
aws_ec2_transit_gateway_route_table_association seems to be recreated
Expected Behavior
aws_ec2_transit_gateway_route_table_association resource should not be getting replaced due to an optional attribute. But this is causing an existing association to be replaced.
Actual Behavior
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
After upgrading the aws provider version to v5.5.0, we get this error. This seems to be added in https://github.com/hashicorp/terraform-provider-aws/releases/tag/v5.2.0 for the Issue - #31452
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: