[Bug]: expanding allowed prefixes aws_dx_gateway_association causes downtime #30085
Labels
bug
Addresses a defect in current functionality.
service/directconnect
Issues and PRs that pertain to the directconnect service.
service/transitgateway
Issues and PRs that pertain to the transitgateway service.
Terraform Core Version
1.4.1
AWS Provider Version
4.58
Affected Resource(s)
Expected Behavior
When updating
aws_dx_gateway_association
with an additionalallowed_prefix
. Gateway association should be updated in-place with zero impact on other prefixes.Actual Behavior
Update to
aws_dx_gateway_association
resource causesaws_ec2_transit_gateway_route_table_association
replacement which is disabling all the traffic through the dx gateway.Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Plan Output
Steps to Reproduce
Implement
aws_dx_gateway_association
which is associated with transit gatewayaws_ec2_transit_gateway_route_table_association.dx_gateway
Important Factoids
aws_ec2_transit_gateway_route_table_association.dx_gateway_lnd_eng_1
must be replaced action shouldn't be happening as allowed prefixes can be updated in place.References
Related docs -> https://docs.aws.amazon.com/directconnect/latest/UserGuide/allowed-to-prefixes.html
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: