Skip to content

Commit

Permalink
Merge pull request #20 from depot/ecs-permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie authored Sep 5, 2024
2 parents 534ec93 + d84183b commit bfa85de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ resource "aws_iam_role" "cloud-agent" {
},

{
Action = ["ecs:ListTasks", "ecs:DescribeTasks", "ecs:StopTask"],
Action = ["ecs:*"],
Effect = "Allow",
Resource = ["*"],
Condition = { ArnEquals = { "ecs:cluster" = aws_ecs_cluster.cloud-agent[0].arn } }
Expand Down

0 comments on commit bfa85de

Please sign in to comment.