Skip to content

Commit

Permalink
Merge branch 'develop' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
chenhaiyun committed Sep 26, 2021
2 parents e17c411 + 24f1d4d commit cbf8fb5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 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

0 comments on commit cbf8fb5

Please sign in to comment.