diff --git a/fast/stages/2-networking-b-nva/net-landing.tf b/fast/stages/2-networking-b-nva/net-landing.tf index b40fc18d57..34f24a558a 100644 --- a/fast/stages/2-networking-b-nva/net-landing.tf +++ b/fast/stages/2-networking-b-nva/net-landing.tf @@ -22,13 +22,19 @@ module "landing-project" { name = "prod-net-landing-0" parent = var.folder_ids.networking-prod prefix = var.prefix - services = [ + services = concat([ "compute.googleapis.com", "dns.googleapis.com", "iap.googleapis.com", "networkmanagement.googleapis.com", - "stackdriver.googleapis.com" - ] + "stackdriver.googleapis.com", + ], + ( + var.enable_ncc_ra + ? ["networkconnectivity.googleapis.com"] + : [] + ) + ) shared_vpc_host_config = { enabled = true } diff --git a/tests/fast/stages/s2_networking_b_nva/ncc-ra.yaml b/tests/fast/stages/s2_networking_b_nva/ncc-ra.yaml index bfbffc9054..a6547eb6f3 100644 --- a/tests/fast/stages/s2_networking_b_nva/ncc-ra.yaml +++ b/tests/fast/stages/s2_networking_b_nva/ncc-ra.yaml @@ -45,9 +45,9 @@ counts: google_project: 3 google_project_iam_binding: 6 google_project_iam_member: 2 - google_project_service: 21 + google_project_service: 22 google_project_service_identity: 5 google_storage_bucket_object: 2 modules: 39 random_id: 2 - resources: 219 + resources: 220