https://prefect.io logo
Title
m

Mac

11/29/2022, 10:01 PM
Hello, for ECSTask, how can can I set up the block to use a specific task definition revision, rather than creating a new one every time? I'm running into a lot of
RegisterTaskDefinition operation: Too many concurrent attempts to create a new revision of the specified family.
errors
Make sure to set the Image to None
b

Ben Muller

11/29/2022, 10:07 PM
@Mac this issue was fixed with the latest revision of prefect ( i think 2.6.7 + and prefect-aws 0.1.8 )
m

Mike Grabbe

11/29/2022, 10:13 PM
I'm not sure this specific problem was fixed. Task definitions are now created with unique family names, but if you attempt to run 10x of the same family at once, you will still hit the ECS api rate limit
By specifying a particular task defintion arn, there are no new revisions being created within the family
b

Ben Muller

11/29/2022, 10:19 PM
ah ok - my bad
not sure that is the particular issue Mac is running into though
m

Mac

11/29/2022, 10:34 PM
Thanks, these are both helpful!