We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fff1e7 commit 683ae07Copy full SHA for 683ae07
modules/vpc/outputs.tf
@@ -30,6 +30,6 @@ output "network_self_link" {
30
}
31
32
output "project_id" {
33
- value = var.shared_vpc_host ? coalesce(flatten([google_compute_shared_vpc_host_project.shared_vpc_host.*.project])...) : google_compute_network.network.project
+ value = var.shared_vpc_host ? google_compute_shared_vpc_host_project.shared_vpc_host.*.project[0] : google_compute_network.network.project
34
description = "VPC project id"
35
0 commit comments