https://prefect.io logo
Title
m

Maikel Penz

03/03/2020, 1:20 AM
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

josh

03/03/2020, 3:06 AM
Is the
family
that you are providing for the
FargateTaskEnvironment
the same for each version of your flow?
m

Maikel Penz

03/03/2020, 7:44 PM
yes @josh
j

josh

03/03/2020, 7:51 PM
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

Maikel Penz

03/03/2020, 10:12 PM
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