Skip to content

Commit be04201

Browse files
committed
updates Principal in KMS policy
1 parent 5f5331f commit be04201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ module "kms_key" {
174174
"Sid" : "Enable IAM User Permissions",
175175
"Effect" : "Allow",
176176
"Principal" : {
177-
"AWS" : "*"
177+
"AWS" : "arn:aws:iam::${local.account_id}:root"
178178
},
179179
"Action" : "kms:*",
180180
"Resource" : "*"

0 commit comments

Comments
 (0)