https://dagster.io/ logo
#dagster-support
Title
# dagster-support
d

Duncan

09/05/2022, 2:20 PM
I can’t work out quite how to configure a dagster ECS deployment without the extra user_code grpc container. That’s overcomplex for our needs. But when I load the code (for example, the example
repo.py
, the daemon container fails on boot with “Could not load location repo.py” - except it’s definitely in the daemon container, as I’ve checked locally and it’s baked into the image. What am I missing here?
I changed the
workspace.yaml
to simply be:
Copy code
load_from:
  - python_file: repo.py
d

daniel

09/05/2022, 6:38 PM
Hi Duncan - could you post the full error message / stack trace that you're seeing that includes "Could not load location repo.py"?
one possibility - repo.py needs to be local to the workspace.yaml file - so with that path it would need to be in the same folder as the workspace.yaml file