Skip to content

Commit 119b69a

Browse files
maheshwarishikhaShikha Maheshwari
andauthored
test: update variable type vpc_connections because of change in dependent module (#928)
Co-authored-by: Shikha Maheshwari <[email protected]>
1 parent 170eaa1 commit 119b69a

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

examples/landing_zone/main.tf

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,20 @@ module "management_vpc" {
6262
##############################################################################
6363

6464
module "tg_gateway_connection" {
65-
source = "terraform-ibm-modules/transit-gateway/ibm"
66-
version = "2.4.3"
67-
transit_gateway_name = "${var.prefix}-tg"
68-
region = var.region
69-
global_routing = false
70-
resource_tags = var.resource_tags
71-
resource_group_id = module.resource_group.resource_group_id
72-
vpc_connections = [module.workload_vpc.vpc_crn, module.management_vpc.vpc_crn]
65+
source = "terraform-ibm-modules/transit-gateway/ibm"
66+
version = "2.5.0"
67+
transit_gateway_name = "${var.prefix}-tg"
68+
region = var.region
69+
global_routing = false
70+
resource_tags = var.resource_tags
71+
resource_group_id = module.resource_group.resource_group_id
72+
vpc_connections = [
73+
{
74+
vpc_crn = module.workload_vpc.vpc_crn
75+
},
76+
{
77+
vpc_crn = module.management_vpc.vpc_crn
78+
}
79+
]
7380
classic_connections_count = 0
7481
}

0 commit comments

Comments
 (0)