Skip to content

Commit

Permalink
chore(kms): pass key_id instead of arn to key_id parameter of aws_kms…
Browse files Browse the repository at this point in the history
…_key_policy to eliminate change (#18)
  • Loading branch information
jindraj authored Oct 24, 2024
1 parent 8e7ec88 commit 102d9f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ resource "aws_kms_alias" "this" {

resource "aws_kms_key_policy" "this" {
count = var.encrypt_with_kms ? 1 : 0
key_id = aws_kms_key.this[0].arn
key_id = aws_kms_key.this[0].key_id
policy = data.aws_iam_policy_document.kms_key_policy.json
}

Expand Down

0 comments on commit 102d9f2

Please sign in to comment.