Skip to content

Conversation

@georgi-seqera
Copy link
Contributor

Description

Fix for: #546 to add support for an --ecs-config option with a path to a file with additional ECS agent configuration to be provided to AWS Batch Forge compute environments.
This is appended to the /etc/ecs/ecs.config file in each cluster node.

Usage:

Store your extra ECS config in some file e.g. my-ecs-config-file

ECS_TASK_METADATA_RPS_LIMIT=120,180
ECS_ENABLE_TASK_IAM_ROLE=true

Pass path to file via --ecs-config option

tw compute-envs add aws-batch forge \
  --name aws-batch-ecs-test \
  --credentials my-aws-credentials \
  --region eu-west-1 \
  --work-dir "s3://my-bucket/work" \
  --max-cpus 20 \
  --ecs-config my-ecs-config-file

@georgi-seqera georgi-seqera merged commit c7acffc into master Dec 1, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants