Hi.. For the ones using Prefect cloud with the Far...
# ask-community
m
Hi.. For the ones using Prefect cloud with the Fargate execution environment. If register again an existing flow, passing the
FargateTaskEnvironment
with updated CPU/Memory settings I see that the Task definition doesn't get updated on ECS. No new version is created and next run will pick up the old configuration. Did anyone get around this issue ?
j
Is the
family
that you are providing for the
FargateTaskEnvironment
the same for each version of your flow?
m
yes @josh
j
Ah that’ll do it since the family is directly tied to the task definition. If you provide a different family for each registration of the flow run then it should work. Otherwise we could implement a default random family name for each registration if one isn’t provided
m
Oh right.. ok so I should always generate a new family name if I want to update the task definition. I will give it a go