Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Mar 25, 2022
1 parent e4c2aa1 commit 89a72c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vpn/vpn-config.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
locals {
vpn_tunnel_outputs = { for k, v in local.vpn_settings : k => {
site = v.site
environment = lookup(v, "environment", null)
sequence = lookup(v, "sequence", null)
label = lookup(v, "label", null)
full_label = format("aws:%v:%v:%v:%v", local.region, local.account_id, aws_vpn_connection.vpn[k].id, lookup(v, "label", null))
environment = lookup(v, "environment", "")
sequence = lookup(v, "sequence", "")
label = lookup(v, "label", "")
full_label = format("aws:%v:%v:%v:%v", local.region, local.account_id, aws_vpn_connection.vpn[k].id, lookup(v, "label", ""))
customer_address = aws_customer_gateway.vpn[k].ip_address
bgp_asn = aws_customer_gateway.vpn[k].bgp_asn
vpn_connection_id = aws_vpn_connection.vpn[k].id
Expand Down

0 comments on commit 89a72c0

Please sign in to comment.