I'm trying to address this error: `Flow run could ...
# ask-community
j
I'm trying to address this error: `Flow run could not be submitted to infrastructure: An error occurred (ClientException) when calling the RegisterTaskDefinition operation: Too many concurrent attempts to create a new revision of the specified family.`I've upgraded to prefect-aws 0.4.13. I'm not seeing anywhere to set my work-pool to use the most recent revision of an ECS task definition family in the prefect cloud UI. Am I missing a step here? https://github.com/PrefectHQ/prefect-aws/pull/370
k
if you try making a new ecs work pool, is it in there?
👀 1
j
I don't see it... What is the option called in the UI? Or maybe I can set it in the advanced settings json? Do I need to upgrade all my deployments that use prefect cloud to 0.4.13?
I'm using push work-pools
k
ahhh yeah it's currently not a push work pool option
🥲 1
j
ah shoot - I think I saw somewhere a workaround is fewer unique flow run names?
k
yeah, are you configuring your logging prefix in any way?
j
you mean the cloudwatch configuration options? no
the flow run name is generated based on some of our data variables and the date
which mean about 150 unique names per day
k
yeah the flow run name is used in the logging prefix
but if you configure a set logging prefix, that won't create new task def registrations
might make it a little harder to find your flow run logs in cloudwatch though, if that matters to you
j
For now I'll just reduce the number of unique names generated, we're only getting this error about 1 in 300 runs
👍 1
I think I was putting the date on there which is in the prefect metadata anyway...
Thanks Kevin!
k
np!