Skip to content

Commit

Permalink
feat: add support for security group referencing to transit-gateway m…
Browse files Browse the repository at this point in the history
…odule

AWS recently introduced 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 the transit-gateway module. Added support for it in the module.
  • Loading branch information
syedimranhassan authored Sep 27, 2024
1 parent 8c2d966 commit dda1f3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ resource "aws_ec2_transit_gateway_vpc_attachment" "this" {
dns_support = try(each.value.dns_support, true) ? "enable" : "disable"
ipv6_support = try(each.value.ipv6_support, false) ? "enable" : "disable"
appliance_mode_support = try(each.value.appliance_mode_support, false) ? "enable" : "disable"
security_group_referencing_support = try(each.value.security_group_referencing_support, false) ? "enable" : "disable"
transit_gateway_default_route_table_association = try(each.value.transit_gateway_default_route_table_association, true)
transit_gateway_default_route_table_propagation = try(each.value.transit_gateway_default_route_table_propagation, true)

Expand Down

0 comments on commit dda1f3e

Please sign in to comment.