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 3c0a5b2 commit 75f9f04Copy full SHA for 75f9f04
modules/vpc/outputs.tf
@@ -30,6 +30,6 @@ output "network_self_link" {
30
}
31
32
output "project_id" {
33
- value = var.project_id
+ value = var.shared_vpc_host ? coalesce(google_compute_shared_vpc_host_project.shared_vpc_host.*.project...) : google_compute_network.network.project
34
description = "VPC project id"
35
0 commit comments