-
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
aws-stepfunctions-tasks: Add cpu and memory parameters to EcsRunTask #30027
Comments
thanks @kackyt for submitting the request and volunteering for PR contribution. |
Hi @kackyt - I was looking at this issue and saw that there is the And here for the API reference: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#API_RunTask_RequestSyntax |
@daschaa |
@kackyt Thanks for the clarification! I didn‘t knew that. 👍🏼 Do you have a link to some documentation where I can find that information? |
The task definition reference contains the following link to a description of the Fargate task.
The same applies to EcsRunTask. |
Hey there I believe was already addressed by this?: 5f59787. |
@VaidSaraswat |
Comments on closed issues and PRs are hard for our team to see. |
1 similar comment
Comments on closed issues and PRs are hard for our team to see. |
#30140) ### Issue # (if applicable) Closes #30027 . ### Reason for this change As described in the issue. ### Description of changes Add cpu and memoryMiB property to EcsRunTaskProps. ### Description of how you validated changes Add unit tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Describe the feature
Add cpu and memory parameters to EcsRunTask in StepFunctions to allow flexible allocation of Ecs resources according to the situation.
Use Case
This is useful when you want to allocate resources flexibly according to the data set used in EcsTask, or when you want to increase memory when retrying from errors such as OOM.
Proposed Solution
Add cpu and memory parameters to EcsRunTask
Other Information
No response
Acknowledgements
CDK version used
2.139.1
Environment details (OS name and version, etc.)
client: macOS,Windows,Linux
The text was updated successfully, but these errors were encountered: