mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-07 16:19:07 +00:00
fix(iam): scope staging githubdeploy S3 object access to the EB bucket
This commit is contained in:
parent
c5a76bfb91
commit
de409f8c8d
1 changed files with 2 additions and 2 deletions
|
|
@ -303,8 +303,8 @@ data "aws_iam_policy_document" "deploy" {
|
|||
"s3:DeleteObject",
|
||||
]
|
||||
resources = [
|
||||
"arn:aws:s3:::${local.eb_bucket_name}/${var.eb_application_name}/*",
|
||||
"arn:aws:s3:::${local.eb_bucket_name}/resources/*",
|
||||
"arn:aws:s3:::${local.eb_bucket_name}",
|
||||
"arn:aws:s3:::${local.eb_bucket_name}/*",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue