make aws_ec2_transit_gateway_vpc_attachment gracefully handle TGW without default route tables #19279
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ec2
Issues and PRs that pertain to the ec2 service.
Community Note
Description
This is a feature request to implement what @ewbankkit suggested in #13512 (comment)
New or Affected Resource(s)
Potential Terraform Configuration
Status Quo
It works fine (for an attachment in the same AWS account as the TGW) if I explicitly specify
but this is not DRY, and also contrasts poorly with the need to avoid specifying those same arguments when creating an attachment from a different AWS account (see #8383).
It would be much nicer for omitting the optional arguments to elicit reasonable default behavior in all cases.
References
The text was updated successfully, but these errors were encountered: