Skip to content

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

@stevekm

Description

@stevekm

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions