-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(stepfunctions-tasks): Security action for EcsRunTask #30368
(stepfunctions-tasks): Security action for EcsRunTask #30368
Comments
Yap according to this doc Looks like we should include this only:
|
I'll take this since it's related to my previous PR. |
This is also relevant for other targets, such as https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events_targets-readme.html#run-an-ecs-task. EDIT: I filed #30390 to keep it separate. |
|
1 similar comment
|
Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one. |
Describe the feature
The following message has been received by AWS users and needs to be addressed to be compliant in granting permissions when using EcsRunTask.
Use Case
When executing ECS task from StepFunctions using EcsRunTask in stepfunctions-tasks.
Proposed Solution
Remove the Ecs Task Family from the IAMResource permission policy.
aws-cdk/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/ecs/run-task.ts
Line 355 in c8f2646
Other Information
related issue #12080 #27891
Acknowledgements
CDK version used
2.143.0
Environment details (OS name and version, etc.)
macOS,Linux,Windows
The text was updated successfully, but these errors were encountered: