Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
Transit Gateways lie around the top level of networking infrastructure. Slow updates can impact traffic severely and lead to business loss.
We have observed that sometimes the resource modification (that translates into destroy + create in terraform-provider-aws) takes longer than the individual hard-coded timeout of 2 minutes. https://github.com/hashicorp/terraform-provider-aws/blob/c7a6bfbe50f6741592ac57393f9cdc38f0696092/internal/service/ec2/wait.go#L1359-L1362
AWS SDK provides a ReplaceTransitGatewayRoute feature to help update this critical resource in-place. https://docs.aws.amazon.com/cli/latest/reference/ec2/replace-transit-gateway-route.html
Affected Resource(s) and/or Data Source(s)
aws_ec2_transit_gateway_route
Potential Terraform Configuration
References
https://docs.aws.amazon.com/cli/latest/reference/ec2/replace-transit-gateway-route.html
Would you like to implement a fix?
None