We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e7ec88 commit 102d9f2Copy full SHA for 102d9f2
main.tf
@@ -91,7 +91,7 @@ resource "aws_kms_alias" "this" {
91
92
resource "aws_kms_key_policy" "this" {
93
count = var.encrypt_with_kms ? 1 : 0
94
- key_id = aws_kms_key.this[0].arn
+ key_id = aws_kms_key.this[0].key_id
95
policy = data.aws_iam_policy_document.kms_key_policy.json
96
}
97
0 commit comments