Maikel Penz

    Maikel Penz

    2 years ago
    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

    2 years ago
    Is the
    family
    that you are providing for the
    FargateTaskEnvironment
    the same for each version of your flow?
    Maikel Penz

    Maikel Penz

    2 years ago
    yes @josh
    j

    josh

    2 years ago
    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
    Maikel Penz

    Maikel Penz

    2 years ago
    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