Moody Edghaim
03/07/2023, 9:37 PMload_from
. I can see the workspace connected successfully in dagit, and can see that workspaces jobs.
However, when launching any of the new workspaces jobs, it launches in the original workspaces ECS container. Some digging led me to DAGSTER_CONTAINER_CONTEXT
.
I've added the following to the as an env var to the Dockerfile of the container running the new workspace/grpc server:
ENV DAGSTER_CONTAINER_CONTEXT='{"ecs":{"task_definition_arn":"'$TASK_DEF_ARN'","container_name":"'$CONTAINER_NAME'"}}
However, when launching the job, I'm met with:
dagster._core.errors.DagsterInvalidConfigError: Errors while parsing ECS container context
Error 1: Received unexpected config entries "['container_name', 'task_definition_arn']" at the root. Expected: "['env_vars', 'secrets', 'secrets_tags']."
What version of dagster was DAGSTER_CONTAINER_CONTEXT
introduced? or am I just doing something wrong?daniel
03/07/2023, 10:38 PM