Skip to content

Commit

Permalink
add region
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 3, 2021
1 parent 2b96d11 commit 592e39e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vpn/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
locals {
account_id = var.account_id != "" ? var.account_id : data.aws_caller_identity.current.account_id
account_environment = data.aws_arn.current.partition == "aws-us-gov" ? "gov" : "ew"
region = data.aws_region.current.name

vpn_settings = { for v in var.vpn_settings : lower(v.site) => {
site = lower(v.site)
bgp_asn_id = v.bgp_asn_id
Expand Down

0 comments on commit 592e39e

Please sign in to comment.