https://dagster.io/ logo
#ask-ai
Title
# ask-ai
l

Linton Ye

03/07/2024, 3:59 PM
when configuring
EcsUserCodeLauncher
, is it possible to specify the CPU architecture for the run?
s

Scout

03/07/2024, 3:59 PM
The documentation does not explicitly mention the ability to specify the CPU architecture for runs when configuring the
EcsUserCodeLauncher
. However, it does provide information on how to customize the default resources for Dagster runs, including CPU and memory, as well as how to pass additional arguments to the
run_task
API call using
run_task_kwargs
. If you need to specify the CPU architecture, you might consider using the
run_task_kwargs
configuration option to pass any additional parameters that the AWS ECS
run_task
API supports, which could include CPU architecture if the ECS API supports it. Here's a general example from the documentation on how to use `run_task_kwargs`:
Copy code
yaml run_launcher:   module: "dagster_aws.ecs"   class: "EcsRunLauncher"   config:     run_task_kwargs:       # Additional key-value pairs to pass to the run_task API call
You would need to refer to the [AWS ECS
run_task
API documentation](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html) to determine the exact key-value pairs that are required to specify the CPU architecture. Please note that the
EcsUserCodeLauncher
is not directly mentioned in the documentation provided, so if you are referring to a specific configuration or class, you may need to consult the most up-to-date documentation or reach out to the Dagster community for further assistance.