diff --git a/main.tf b/main.tf index a7e05d9..7a4f207 100644 --- a/main.tf +++ b/main.tf @@ -26,14 +26,13 @@ locals { enable_access_keys = var.create_access_keys ? length(var.users) : 0 contact = lower(var.contact) email_address = join(",",[for e in var.email_address: lower(e)]) + tags_email = map("boc:id:mail",local.email_address) tags_contact = { exists = { "boc:id:username" = local.contact } not_exists = { } } - tags_contact = map("boc:id:username",local.contact) - tags_email = map("boc:id:mail",local.email_address) tags_reference = { exists = { "boc:id:reference" = var.reference