Always use local.project_id in net-vpc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user