From 7e6c774ed57c81cc7733c50fc47ed4b78f87a2c9 Mon Sep 17 00:00:00 2001 From: Andrew Peabody Date: Mon, 30 Oct 2023 10:43:16 -0700 Subject: [PATCH] Update outputs.tf --- modules/vpc/outputs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/vpc/outputs.tf b/modules/vpc/outputs.tf index 87db4a22..125bc03f 100644 --- a/modules/vpc/outputs.tf +++ b/modules/vpc/outputs.tf @@ -35,6 +35,6 @@ output "network_self_link" { } output "project_id" { - value = var.shared_vpc_host && length(google_compute_shared_vpc_host_project.shared_vpc_host) > 0 ? google_compute_shared_vpc_host_project.shared_vpc_host.*.project[0] : google_compute_network.network.project + value = var.shared_vpc_host && length(google_compute_shared_vpc_host_project.shared_vpc_host) > 0 ? google_compute_shared_vpc_host_project.shared_vpc_host[*].project[0] : google_compute_network.network.project description = "VPC project id" }