Christian Lam
05/26/2022, 11:07 PMEcsRunLauncher
on an existing dagster deployment that is on ECS but was using DefaultRunLauncher
. I am able to successfully launch jobs that have code loaded from python_file
in the workspace.yaml
config, however when I try to launch jobs that are loaded from python_package
I get the following error:
Encountered ImportError: `No module named 'data-dagster-workspaces.workspaces'` while importing module data-dagster-workspaces.workspaces.rad_data.repositories. Local modules were resolved using the working directory `/opt/dagster/dagster_home`. If another working directory should be used, please explicitly specify the appropriate path using the `-d` or `--working-directory` for CLI based targets or the `working_directory` configuration option for workspace targets.
I do not have this issue when using DefaultRunLauncher
. Is there a way to configure the ecs launcher task to recognize the working directory or packages without having to change the import statements in the existing code?sean
05/27/2022, 12:37 PMjordan
05/27/2022, 1:09 PMsean
05/31/2022, 1:27 PMChristian Lam
05/31/2022, 9:16 PM