Jason
04/14/2022, 7:16 PM[14 April 2022 2:14pm]: An error occurred (InvalidParameterException) when calling the RunTask operation: No Fargate configuration exists for given values.
. The weird thing is that 4096 appears to be a valid entry: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-cpu-memory-error.html. Is it possible I screwed up the definition of my fargate
cluster?Kevin Kho
ECSRun
you have? How do you know this refers to the 4096?Jason
04/14/2022, 7:20 PMecs_run = ECSRun(
labels=["prod"],
run_task_kwargs={"cluster": "{edited}-prod-platform-prefect"},
execution_role_arn="arn:aws:iam::{edited}:role/ecsTaskExecutionRole",
task_role_arn="arn:aws:iam::{edited}:role/prefectTaskRole",
cpu=4096,
)
Kevin Kho
Jason
04/14/2022, 7:26 PMKevin Kho