Skip to content

Commit

Permalink
change map() to {}
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 9, 2022
1 parent f266253 commit 0795fde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ repos:
args: ['table']
exclude: common/*.tf
exclude: version.tf
- id: terraform_tflint
args: [ "--args=--config=__GIT_WORKING_DIR__/.tflint.hcl"]
# - id: terraform_tflint
# args: [ "--args=--config=__GIT_WORKING_DIR__/.tflint.hcl"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ locals {
enable_access_keys = var.create_access_keys ? length(var.users) : 0
contact = lower(var.contact)
email_address = join(",", [for e in var.email_addresses : lower(e)])
tags_email = map("boc:id:mail", local.email_address)
tags_email = { "boc:id:mail" = local.email_address }
tags_contact = {
exists = {
"boc:id:username" = local.contact
Expand Down

0 comments on commit 0795fde

Please sign in to comment.