Skip to content

Commit

Permalink
fix up vpn-config for vpn/ submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Mar 25, 2022
1 parent 789f7c1 commit e4c2aa1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,8 @@
- vpn and vpn-transit-gateway
- add outputs of customer_gateway_arns and customer_gateway_ids

* 1.6.3 -- 2022-03-25
- vpn
- fix up vpn_config_output

## Version 2.x
2 changes: 1 addition & 1 deletion common/version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
_module_version = "1.6.2"
_module_version = "1.6.3"
}
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 = v.environment
sequence = v.sequence
label = v.label
full_label = format("aws:%v:%v:%v:%v", local.region, local.account_id, aws_vpn_connection.vpn[k].id, v.label)
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))
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 e4c2aa1

Please sign in to comment.