Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 17, 2023
1 parent d717942 commit f8ac124
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion common/kms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# }
#
locals {
__prefixes = merge(local._prefixes, var.override_prefixes)
kms_key_arn = var.kms_key_arn == null ? try(aws_kms_key.key[0].arn, "") : var.kms_key_arn
kms_key_name = format("%s%s", local.__prefixes["kms"], local.name)

Expand Down
1 change: 1 addition & 0 deletions common/prefixes.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ locals {
"security-group" = ""
# "security-group" = "sg-"
}
__prefixes = merge(local._prefixes, var.override_prefixes)
}
1 change: 0 additions & 1 deletion common/resources.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
locals {
region_short = join("", [for c in split("-", local.region) : substr(c, 0, 1)])
__prefixes = merge(local._prefixes, var.override_prefixes)
base_name = var.bucket_name
b_name = replace(var.bucket_name, local.__prefixes["s3"], "")
b_account = var.name_include_account ? format("-%v", local.account_id) : ""
Expand Down
3 changes: 0 additions & 3 deletions kms_key/locals.tf

This file was deleted.

0 comments on commit f8ac124

Please sign in to comment.