Skip to content

Commit

Permalink
fix: include the APIs with identities created in the shared VPC config
Browse files Browse the repository at this point in the history
  • Loading branch information
NitriKx authored Nov 1, 2024
1 parent 12c63ea commit 0bff02c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ module "shared_vpc_access" {
enable_shared_vpc_service_project = var.svpc_host_project_id != "" ? true : false
host_project_id = var.svpc_host_project_id
service_project_id = module.project-factory.project_id
active_apis = var.activate_apis
active_apis = toset(concat(var.activate_apis, [for i in var.activate_api_identities : i.api]))
shared_vpc_subnets = var.shared_vpc_subnets
service_project_number = module.project-factory.project_number
lookup_project_numbers = false
Expand Down
2 changes: 1 addition & 1 deletion modules/svpc_service_project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module "shared_vpc_access" {
host_project_id = var.shared_vpc
enable_shared_vpc_service_project = true
service_project_id = module.project-factory.project_id
active_apis = var.activate_apis
active_apis = toset(concat(var.activate_apis, [for i in var.activate_api_identities : i.api]))
shared_vpc_subnets = var.shared_vpc_subnets
service_project_number = module.project-factory.project_number
lookup_project_numbers = false
Expand Down

0 comments on commit 0bff02c

Please sign in to comment.