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 65e3886 commit 24f1d4dCopy full SHA for 24f1d4d
source/constructs/lib/cfn-step-functions.ts
@@ -202,6 +202,7 @@ export class CloudFormationStateMachine extends cdk.Construct {
202
"ecs:ListTasks",
203
"ecs:RegisterTaskDefinition",
204
"ecs:DeregisterTaskDefinition",
205
+ "ecs:DescribeTaskDefinition",
206
],
207
resources: [`*`]
208
}),
@@ -321,6 +322,14 @@ export class CloudFormationStateMachine extends cdk.Construct {
321
322
323
324
325
+ new iam.PolicyStatement({
326
+ actions: [
327
+ "iam:CreateServiceLinkedRole",
328
+ ],
329
+ resources: [
330
+ `arn:${cdk.Aws.PARTITION}:iam::${cdk.Aws.ACCOUNT_ID}:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling`
331
+ ]
332
+ }),
333
]
334
});
335
0 commit comments