Skip to content

Commit

Permalink
Template infra deploy #8071505748
Browse files Browse the repository at this point in the history
  • Loading branch information
nava-platform-bot committed Feb 27, 2024
1 parent 793e15c commit 1d78ed1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .template-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5d8c611b401afef55ee5628d02dae88e92216267
c63071643f9ac63b910680e464b628ae4ddb6c5c
8 changes: 6 additions & 2 deletions infra/modules/storage/access-control.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,15 @@ data "aws_iam_policy_document" "storage_access" {
"s3:GetObject",
"s3:GetObjectAttributes",
"s3:GetObjectTagging",
"s3:ListBucket",
"s3:PutObject",
"s3:PutObjectTagging",
]
effect = "Allow"
resources = ["arn:aws:s3:::${var.name}/*"]
effect = "Allow"
resources = [
"arn:aws:s3:::${var.name}",
"arn:aws:s3:::${var.name}/*"
]
}
statement {
actions = ["kms:GenerateDataKey", "kms:Decrypt"]
Expand Down

0 comments on commit 1d78ed1

Please sign in to comment.