Always use local.project_id in net-vpc

This commit is contained in:
Simone Ruffilli
2025-10-16 14:37:07 +02:00
committed by GitHub
parent e068d6cf31
commit 5be136e2ea
3 changed files with 5 additions and 5 deletions

View File

@@ -74,7 +74,7 @@ resource "google_service_networking_connection" "psa_connection" {
resource "google_compute_network_peering_routes_config" "psa_routes" {
for_each = local.psa_configs
project = var.project_id
project = local.project_id
peering = (
google_service_networking_connection.psa_connection[each.key].peering
)
@@ -85,7 +85,7 @@ resource "google_compute_network_peering_routes_config" "psa_routes" {
resource "google_service_networking_peered_dns_domain" "name" {
for_each = local.psa_peered_domains
project = var.project_id
project = local.project_id
network = local.network.name
name = each.key
dns_suffix = each.value.dns_suffix