diff --git a/vpc/main.tf b/vpc/main.tf index ade85af..addac63 100644 --- a/vpc/main.tf +++ b/vpc/main.tf @@ -31,6 +31,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 + region_short = join("", [for c in split("-", local.region) : substr(c, 0, 1)]) base_tags = { "boc:tf_module_version" = local._module_version