Skip to content

Commit

Permalink
fix outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Feb 26, 2022
1 parent c47e149 commit 677fa19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vpn-transit-gateway/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
output "vpn_tunnel_endpoints" {
description = "VPN Tunnel Endpoint IP Addresses"
value = { for k in keys(local.vpn_settings) : k => {
value = { for k, v in local.vpn_settings : k => {
site = v.site
environment = v.environment
sequence = v.sequence
Expand All @@ -18,7 +18,7 @@ output "vpn_tunnel_endpoints" {

output "vpn_labels" {
description = "VPN Labels for Description field of Endpoint device (Cisco ASR)"
value = { for k in keys(local.vpn_settings) : k => {
value = { for k, v in local.vpn_settings : k => {
site = v.site
environment = v.environment
sequence = v.sequence
Expand Down

0 comments on commit 677fa19

Please sign in to comment.