We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a57b8db commit d3f46b0Copy full SHA for d3f46b0
main.tf
@@ -17,6 +17,11 @@ data "aws_iam_policy_document" "scheduled_task_cw_event_role_cloudwatch_policy"
17
effect = "Allow"
18
actions = ["ecs:RunTask"]
19
resources = ["*"]
20
+ condition {
21
+ test = "ArnEquals"
22
+ variable = "ecs:cluster"
23
+ values = [var.ecs_cluster_arn]
24
+ }
25
}
26
statement {
27
actions = ["iam:PassRole"]
0 commit comments