Ben Muller
09/17/2021, 12:26 AMan error occurred (ClientException) when calling the RegisterTaskDefinition operation: Too many concurrent attempts to create a new revision of the specified family
I have followed the instructions here, but have had no change in the behaviour. We run about 2500 flows every 24 hours and they are generally short running ~60 seconds and run every 15 or so minutes.
I use the aws cdk and this is how I have injected the variables into my fargate ecs agent.
fargate_task_definition.add_container(
id="prefect-fargate-agent-container",
container_name="prefect-fargate-agent-container",
image=ecs.ContainerImage.from_ecr_repository(
prefect_agent_image_repo, "latest"
),
cpu=256,
memory_limit_mib=256,
logging=ecs.AwsLogDriver(stream_prefix="prefect-fargate-agent-container"),
environment={
"AWS_DEFAULT_REGION": "ap-southeast-2",
"LAUNCH_TYPE": "FARGATE",
"AWS_RETRY_MODE": "adaptive",
"AWS_MAX_ATTEMPTS": "100",
"TASK_ROLE_ARN": task_role.role_arn,
"LABEL": "prefect-agent-fargate",
"NAME": "prefect-fargate-agent",
},
secrets={
"PREFECT__CLOUD__AGENT__AUTH_TOKEN": ecs.Secret.from_ssm_parameter(
prefect_cloud_agent_auth_token
)
},
)
Is there anyone who might be able to help me fix this issue, its really hurting us at the moment.
CheersZach Angell
Ben Muller
09/17/2021, 3:36 AM--task-definition-add-uuid true
?Zach Angell
Zach Angell
Ben Muller
09/17/2021, 11:29 AMZach Angell
Zach Angell
Ben Muller
09/17/2021, 6:51 PMZach Angell
Ben Muller
10/03/2021, 11:09 PMBen Muller
10/03/2021, 11:10 PMBen Muller
10/03/2021, 11:10 PMBen Muller
10/04/2021, 6:58 AMRoey Brecher
11/09/2021, 9:33 AMBen Muller
11/09/2021, 10:18 AM