Open syedimranhassan opened 1 month ago
Would love to see this too! One comment, this new setting exists at the Transit Gateway level too, not just attachments. So the module should also have a new variable for whether to enable it on the TGW. See https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_transit_gateway
@jhenry82 Thank you for pointing that out. I've updated the code to include SG referencing support at the TGW level as well.
@jhenry82 Can you please review this?
I am not a maintainer of this module, my review wouldn't mean much :) I just use the module and came here to see if the feature had been added, and saw your MR. Hopefully it is able to be integrated soon.
@antonbabenko @bryantbiggs Can you please review this PR?
We also need this functionality.
…odule
Added support for security_group_referencing_support in the transit-gateway module.
Description
Motivation and Context
AWS recently introduced [HERE] security group referencing for Transit Gateway VPC attachments. This feature was available in the standalone resource
aws_ec2_transit_gateway_vpc_attachment
but not in thetransit-gateway
module. Added support for it in the module.Breaking Changes
no
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request