Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion source/constructs/lib/cfn-step-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ export class CloudFormationStateMachine extends cdk.Construct {
"ecs:ListTasks",
"ecs:RegisterTaskDefinition",
"ecs:DeregisterTaskDefinition",
"ecs:DescribeTaskDefinition",
],
resources: [`*`]
}),
Expand Down Expand Up @@ -321,6 +322,14 @@ export class CloudFormationStateMachine extends cdk.Construct {
],
resources: [`*`]
}),
new iam.PolicyStatement({
actions: [
"iam:CreateServiceLinkedRole",
],
resources: [
`arn:${cdk.Aws.PARTITION}:iam::${cdk.Aws.ACCOUNT_ID}:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling`
]
}),
]
});

Expand Down Expand Up @@ -450,4 +459,4 @@ export class CloudFormationStateMachine extends cdk.Construct {

}

}
}
Loading