Skip to content

Commit

Permalink
Update kms.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
mynampatinaveen authored Sep 9, 2024
1 parent 845624c commit a2d58d3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/products/static-site/kms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ key_id = aws_kms_key.static_site_kms.id
"Version": "2012-10-17",
"Id": "key-default-1",
"Statement": [
{
"Sid": "Enable IAM User Permissions",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::${local.account_id}:root"
},
"Action": "kms:*",
"Resource": "*"
},
{
"Sid": "Allow use of the key",
"Effect": "Allow",
Expand Down

0 comments on commit a2d58d3

Please sign in to comment.