File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Note that this example may create resources which cost money. Run `terraform des
28
28
29
29
| Name | Version |
30
30
| ------| ---------|
31
- | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.27 |
31
+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.53 |
32
32
| <a name =" provider_null " ></a > [ null] ( #provider\_ null ) | >= 2.0 |
33
33
| <a name =" provider_random " ></a > [ random] ( #provider\_ random ) | >= 3.0 |
34
34
Original file line number Diff line number Diff line change @@ -232,9 +232,12 @@ data "aws_iam_policy_document" "ecs" {
232
232
count = local. create_role && var. attach_ecs_policy ? 1 : 0
233
233
234
234
statement {
235
- sid = " ECSAccess"
236
- effect = " Allow"
237
- actions = [" ecs:RunTask" ]
235
+ sid = " ECSAccess"
236
+ effect = " Allow"
237
+ actions = [
238
+ " ecs:RunTask" ,
239
+ " ecs:TagResource"
240
+ ]
238
241
resources = [for arn in var . ecs_target_arns : replace (arn, " /:\\ d+$/" , " :*" )]
239
242
}
240
243
Original file line number Diff line number Diff line change @@ -260,7 +260,8 @@ locals {
260
260
261
261
ecs = {
262
262
actions = [
263
- " ecs:RunTask"
263
+ " ecs:RunTask" ,
264
+ " ecs:TagResource"
264
265
]
265
266
}
266
267
You can’t perform that action at this time.
0 commit comments