Jason Wiener
02/26/2025, 3:02 PMFailed to submit flow run '18c31a5a-4638-4511-95da-7231b8be4978' to infrastructure.
...
File "/usr/local/lib/python3.12/site-packages/botocore/client.py", line 1023, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.errorfactory.ClientException: An error occurred (ClientException) when calling the RegisterTaskDefinition operation: Too many concurrent attempts to create a new revision of the specified family.
Marvin
02/26/2025, 3:03 PMMarvin
02/26/2025, 3:05 PMtask_definition_arn
parameter in the ECSTask
block.
2. Rate Limiting: Implement rate limiting or staggering of flow run submissions to avoid concurrent task definition registrations.
3. Task Definition Management: Regularly clean up old task definitions and consider using a versioning strategy to manage task definitions effectively.
For further details, you might find these GitHub issues informative:
- Rate limiting on task registration using ECS Workpools
- Documentation/example on how to use predefined Task Definitions
If you need to explore more about ECS task configurations, refer to the Prefect ECS documentation.Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by