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

Bianca Rosa

04/14/2022, 4:02 PM
Hi peoeple! Trying to run a task on dagster deployed on ECS, and getting the following error:
Copy code
Caught an error for run d2d41d8d-9c95-4816-a605-d412d2a98b9a while removing it from the queue. Marking the run as failed and dropping it from the queue: botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid type for parameter containerDefinitions[0].image, value: None, type: <class 'NoneType'>, valid types: <class 'str'>
I still need to nail down the permissions needed by Dagster, but it looks like its not being able to get the image name to create the ECS Task with
EcsRunLauncher
. Any ideas onto why this could be happening?
j

johann

04/14/2022, 9:22 PM
Hi Bianca, is this with the provided docker compose deployment?
b

Bianca Rosa

04/14/2022, 9:23 PM
Hey! Nope, I provisioned everything with terraform because that’s what we use here
the provided example worked fine 🙂
j

johann

04/14/2022, 10:03 PM
If you take a look at the compose example, there’s a
DAGSTER_CURRENT_IMAGE
variable that we use for that parameter https://github.com/dagster-io/dagster/blob/master/examples/deploy_ecs/docker-compose.yml#L89-L93
We could provide a better error message 🙂
b

Bianca Rosa

04/15/2022, 1:34 PM
thank you! task was created! blob hearteyes
now its just gonna be about nailing down the permissions needed by the iam, i guess! thanks a lot
5 Views