Skip to content

Commit

Permalink
change list
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 9, 2022
1 parent 0f3349c commit 784a92e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ locals {
local.tags_email,
local.tags_reference[var.reference != "" ? "exists" : "not_exists"]
)
aws_access_key_id = concat(aws_iam_access_key.audit[*].id, tolist(""))
aws_secret_access_key = concat(aws_iam_access_key.audit[*].encrypted_secret, tolist(""))
aws_access_key_id = concat(aws_iam_access_key.audit[*].id, [])
aws_secret_access_key = concat(aws_iam_access_key.audit[*].encrypted_secret, [])

policies = compact(concat([data.aws_iam_policy.aws-managed-security-audit.arn], var.additional_policies))
}
Expand Down

0 comments on commit 784a92e

Please sign in to comment.