Skip to content

Commit

Permalink
Add check for appliance mode flag
Browse files Browse the repository at this point in the history
  • Loading branch information
as-extern-mbertram committed Oct 9, 2024
1 parent c73f062 commit 0bcc9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgw.tf
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ resource "aws_ec2_transit_gateway_vpc_attachment" "tgw" {
subnet_ids = aws_subnet.tgw[*].id
transit_gateway_id = var.transit_gateway_id
vpc_id = local.vpc_id
appliance_mode_support = var.enable_appliance_mode_support
appliance_mode_support = try(var.enable_appliance_mode_support, false) ? "enable" : "disable"

tags = merge(
{ Name = "${var.name_prefix}-${var.short_aws_region}-tgw-att-${var.tgw_att_suffix}" }
Expand Down

0 comments on commit 0bcc9fc

Please sign in to comment.