Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .spacelift/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1


module_version: 0.3.5
module_version: 0.3.6
7 changes: 4 additions & 3 deletions tgw.tf
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,10 @@ resource "aws_network_acl_rule" "tgw_outbound" {
resource "aws_ec2_transit_gateway_vpc_attachment" "tgw" {
count = var.enable_tgw_attachment ? 1 : 0

subnet_ids = aws_subnet.tgw[*].id
transit_gateway_id = var.transit_gateway_id
vpc_id = local.vpc_id
subnet_ids = aws_subnet.tgw[*].id
transit_gateway_id = var.transit_gateway_id
vpc_id = local.vpc_id
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
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1796,6 +1796,12 @@ variable "create_multiple_tgw_route_tables" {
default = true
}

variable "enable_appliance_mode_support" {
description = "Enable/disable support for appliance mode for the TGW attachment. Default:; `false`"
type = bool
default = false
}

################################################################################
# TGW Network ACLs
################################################################################
Expand Down