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.
• 1,188 views
•
link
0 answers
No answers yet.
Log in to answer this question.
You may want to post this directly on Broad forum's since people who support cromwell may not stop by here regularly.