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:
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.
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:
This leads to this error:
profiles/batchis the directory I use to save this profile.