Skip to content

Commit

Permalink
FAST: Enable networkconnectivity when using NCC-RA in 2-b (#2329)
Browse files Browse the repository at this point in the history
  • Loading branch information
sruffilli authored May 31, 2024
1 parent eb5754e commit 4901b4a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
12 changes: 9 additions & 3 deletions fast/stages/2-networking-b-nva/net-landing.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
4 changes: 2 additions & 2 deletions tests/fast/stages/s2_networking_b_nva/ncc-ra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4901b4a

Please sign in to comment.