Bruno Murino
12/03/2021, 1:04 PMAmanda Wee
12/03/2021, 1:09 PMBruno Murino
12/03/2021, 1:11 PMAmanda Wee
12/03/2021, 1:11 PMBruno Murino
12/03/2021, 1:12 PMBruno Murino
12/03/2021, 1:12 PMAnna Geller
prefect diagnostics
, I would reproduce and investigate the issue in more depth.Bruno Murino
12/03/2021, 1:16 PMAnna Geller
Bruno Murino
12/03/2021, 1:17 PMBruno Murino
12/03/2021, 1:20 PMAnna Geller
containerDefinitions
list in your ECSRun should solve the problem:
"secrets": [
{
"name": "PREFECT__CLOUD__API_KEY",
"valueFrom": "arn:aws:ssm:us-east-1:YOUR_ACCOUNT_ID:parameter/YOUR_PARAMETER_NAME"
}
]
Anna Geller
{
"family": "prefectFlow",
"requiresCompatibilities": [
"EC2"
],
"networkMode": "awsvpc",
"cpu": "512",
"memory": "1024",
"taskRoleArn": "arn:aws:iam::123456789:role/prefectTaskRole",
"executionRoleArn": "arn:aws:iam::123456789:role/prefectECSAgentTaskExecutionRole",
"containerDefinitions": [
{
"name": "flow",
"image": "<http://123456789.dkr.ecr.us-east-1.amazonaws.com/community:latest|123456789.dkr.ecr.us-east-1.amazonaws.com/community:latest>",
"essential": true,
"environment": [
{
"name": "AWS_RETRY_MODE",
"value": "adaptive"
},
{
"name": "AWS_MAX_ATTEMPTS",
"value": "10"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/prefectEcsAgent",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs",
"awslogs-create-group": "true"
}
},
"secrets": [
{
"name": "PREFECT__CLOUD__API_KEY",
"valueFrom": "arn:aws:ssm:us-east-1:123456789:parameter/PREFECT__CLOUD__API_KEY"
}
]
}
]
}
Bruno Murino
12/03/2021, 1:29 PMBruno Murino
12/03/2021, 1:36 PMBruno Murino
12/03/2021, 1:37 PMBruno Murino
12/03/2021, 1:39 PMAnna Geller
Bruno Murino
12/03/2021, 2:10 PMBruno Murino
12/03/2021, 2:11 PMAnna Geller
Bruno Murino
12/03/2021, 2:11 PMBruno Murino
12/03/2021, 2:11 PMAnna Geller
Bruno Murino
12/03/2021, 2:13 PMBruno Murino
12/03/2021, 2:13 PM