This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to set AWS_BATCH_JOB_ATTEMPT value when using curl to submit cromwell jobs to batch?

I want to set AWS_BATCH_JOB_ATTEMPT in my pipeline. My pipeline is a cromwell wdl pipeline which utilizes AWS batch as the backend. I submit jobs like so:

curl -X  POST "http://172.31.77.179:8000/api/workflows/v1"  \
    -H "accept: application/json" \
    -F "workflowSource=@rnaseq_pipeline.wdl" \
    -F "workflowInputs=@rnaseq_pipeline.json" \
    -F "workflowDependencies=@tasks.zip"

From what I read on aws, they seem to set the environment variables for jobs through the websites GUI. I submit my jobs with curl, how would I add the AWS_BATCH_JOB_ATTEMPT value?

Any help would be appreciated, I am not familiar with either cromwell or batch.

wdl cromwell workflow aws-batch

You may want to post this directly on Broad forum's since people who support cromwell may not stop by here regularly.

0 answers

No answers yet.

Log in to answer this question.