Vamsi Reddy
03/02/2022, 7:42 PMAn error occurred (ThrottlingException) when calling the DeregisterTaskDefinition operation (reached max retries: 2): Rate exceeded
does anyone know why some of the runs failed?Anna Geller
03/02/2022, 7:43 PMVamsi Reddy
03/03/2022, 3:30 PMAnna Geller
03/03/2022, 3:36 PMVamsi Reddy
03/03/2022, 4:03 PMDavid Wang
03/03/2022, 4:12 PM"containerDefinitions": [
{
"name": "$ECS_SERVICE_NAME",
"image": "prefecthq/prefect",
"essential": true,
"command": ["prefect","agent","ecs","start","--run-task-kwargs","<s3://xxx-test-bucket/david/ecs-config.yaml>"],
"environment": [
{
"name": "PREFECT__CLOUD__API_KEY",
"value": "xxx"
},
{
"name": "PREFECT__CLOUD__AGENT__LABELS",
"value": "['dev']"
},
{
"name": "PREFECT__CLOUD__AGENT__LEVEL",
"value": "INFO"
},
{
"name": "PREFECT__CLOUD__API",
"value": "<https://api.prefect.io>"
},
{
"name": "AWS_RETRY_MODE",
"value": "adaptive"
},
{
"name": "AWS_MAX_ATTEMPTS",
"value": 10
}
],
Vamsi Reddy
03/03/2022, 4:17 PMAnna Geller
03/03/2022, 4:23 PMprefect agent ecs start --env AWS_RETRY_MODE=adaptive ...
Also, I wonder what image exactly does this task definition use, maybe you could try specifying it explicitly?
"image": "prefecthq/prefect:1.0.0-python3.8"