@@ -61,6 +61,7 @@ module "connectivity_global" {
6161 parent_container_id = module. governance . folder_container_ids [" platform" ]
6262 organization_id = var. organization_id
6363 labels = var. labels
64+ dns_zones = var. dns_zones
6465}
6566
6667# ############################
@@ -72,7 +73,7 @@ module "connectivity_regional" {
7273
7374 project_id = module. connectivity_global . project_id
7475 organization_id = var. organization_id
75- network_area_name = var. network_area_name
76+ network_area_name = " ${ var . company_code } -pltfm-hub-prod "
7677 network_ranges = var. network_ranges
7778 transfer_network_range = var. transfer_network_range
7879 min_prefix_length = var. min_prefix_length
@@ -122,14 +123,15 @@ module "landing_zone" {
122123 source = " ../../modules/landing-zone"
123124 for_each = var. landing_zones
124125
125- organization_id = var. organization_id
126- parent_container_id = each. value . corporate ? module. governance . folder_container_ids [" landing_zones_corporate" ] : module. governance . folder_container_ids [" landing_zones_public" ]
127- naming_pattern = " ${ var . company_code } -lz-${ each . value . project_code } -${ each . value . env } "
128- network_area_id = each. value . corporate ? module. connectivity_regional . network_area_id : null
129- owner_email = each. value . owner_email
130- labels = var. labels
131- role_assignments = each. value . role_assignments
132- network_prefix_length = each. value . network_prefix_length
133- custom_roles = each. value . custom_roles
134- firewall_next_hop_ip = module. connectivity_regional . firewall_next_hop_ip
126+ organization_id = var. organization_id
127+ parent_container_id = each. value . corporate ? module. governance . folder_container_ids [" landing_zones_corporate" ] : module. governance . folder_container_ids [" landing_zones_public" ]
128+ naming_pattern = " ${ var . company_code } -lz-${ each . value . project_code } -${ each . value . env } "
129+ dns_zone_name = " ${ each . value . project_code } .${ each . value . env } .${ var . region } .${ values (module. connectivity_global . dns_zone_dns_names )[0 ]} "
130+ network_area_id = each. value . corporate ? module. connectivity_regional . network_area_id : null
131+ owner_email = each. value . owner_email
132+ labels = var. labels
133+ role_assignments = each. value . role_assignments
134+ network_prefix_length = each. value . network_prefix_length
135+ custom_roles = each. value . custom_roles
136+ firewall_next_hop_ip = module. connectivity_regional . firewall_next_hop_ip
135137}
0 commit comments