Skip to content

Commit

Permalink
Merge pull request #16 from StateFarmIns/fix-kms-key-support
Browse files Browse the repository at this point in the history
fix: 🐛 Fix dynamic statement (had syntax error)
  • Loading branch information
Clete2 authored Dec 13, 2023
2 parents 22a391c + 7328c8e commit 71cab40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf-lambda-iam-role.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ data "aws_iam_policy_document" "log_retention" {
for_each = var.kms_key_arn == null ? [] : [var.kms_key_arn]
content {
actions = ["kms:GenerateDataKey"]
resources = [each.value]
resources = [statement.value]
}
}

Expand Down

0 comments on commit 71cab40

Please sign in to comment.