Skip to content

Commit

Permalink
Add s3 putobject permission to ecs tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
shri committed Sep 4, 2024
1 parent 10683cf commit f444d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/aws/tf/modules/iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ resource "aws_iam_role" "ecs_task_role" {
Statement = [
{
Effect = "Allow",
Action = ["s3:ListBucket", "s3:GetObject"],
Action = ["s3:ListBucket", "s3:GetObject", "s3:PutObject"],
Resource = "arn:aws:s3:::${var.app_bucket_name}/*"
},
{
Expand Down

0 comments on commit f444d2b

Please sign in to comment.