Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'tw compute-envs add aws-batch manual' args for '--compute-job-role', '--head-job-role' dont work #460

Open
stevekm opened this issue Sep 30, 2024 · 0 comments

Comments

@stevekm
Copy link

stevekm commented Sep 30, 2024

When I run tw like this;

tw compute-envs add aws-batch manual \
--name CE0_shared --workspace 1234567890 \
--region us-east-1 \
--work-dir "s3://my-bucket/workdir" \
--head-queue TowerForge-1234567890-head \
--compute-queue TowerForge-1234567890-work \
--head-job-role arn:aws:iam::1234567890:role/TowerForge-all-access \
--compute-job-role arn:aws:iam::1234567890:role/TowerForge-all-access

The Compute Environment gets registered in the Platform Workspace, but the Head Job Role and the Compute Job Role as defined by the given args are not being passed in. So when I try to use the CE, it breaks because it does not have the correct IAM roles.

  • Tower CLI version 0.10.2 (build f145f1c)
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

No branches or pull requests

1 participant