Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Fixed VPC subnetwork output
Browse files Browse the repository at this point in the history
  • Loading branch information
horiagunica committed Nov 20, 2023
1 parent c3b03db commit b0e6a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/vpc/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ output "network" {
output "subnetworks" {
description = "Map containing key, value pairs of created or read subnetwork attributes."
value = { for k, v in var.subnetworks :
k => try(data.google_compute_subnetwork.this[v.subnetwork_name], google_compute_subnetwork.this[v.subnetwork_name], null)
k => try(data.google_compute_subnetwork.this[k], google_compute_subnetwork.this[k], null)
}
}

0 comments on commit b0e6a46

Please sign in to comment.