Skip to content

Batch job role ARN should not be required #33

Description

@SichongP

job role is not necessary for a Batch job. In fact we can run with --aws-batch-job-role "". It should be an option to skip this argument.

Additionally, when this option is set in a Snakemake profile, it seems to be wrongly processed:

aws-batch-job-role: ""

This leads to this error:

WorkflowError:
Failed to submit AWS Batch job: Failed to register job definition: An error occurred (AccessDeniedException) when calling the RegisterJobDefinition operation: User: [user-id] is not authorized to perform: iam:PassRole on resource: arn:aws:iam::[id]:role/profiles/batch

profiles/batch is the directory I use to save this profile.

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