diff --git a/infrastructure/deregister_batch_job_definitions.py b/infrastructure/deregister_batch_job_definitions.py index 7d9d945c6..006445401 100644 --- a/infrastructure/deregister_batch_job_definitions.py +++ b/infrastructure/deregister_batch_job_definitions.py @@ -1,4 +1,5 @@ import os +import time import boto3 @@ -35,3 +36,5 @@ # There can be multiple revisions per job definition. We want them all gone. for job_definition in job_definitions: batch.deregister_job_definition(jobDefinition=job_definition["jobDefinitionArn"]) + + time.sleep(1)