Piko Monde
Piko Monde

Reputation: 426

How to Retry AWS Glue Job When The Job Timeout

I would like to retry a job, when it return a Timeout status. Is it possible to do this in AWS Glue Job using terrafrom? I've tried setting up MaxRetries to 3 (times) and Timeout to 1 (minutes), when the job Timeout, it didn't retry.

Is it possible to do this?

Thanks

Upvotes: 1

Views: 3559

Answers (1)

Robert Kossendey
Robert Kossendey

Reputation: 7028

Retry only works when the job failed and not when it timeouts. You would need to implement custom logic for that, e.g. Event Bridge listening on Glue timeout events -> invoking a Lambda that starts your job again.

Upvotes: 1

Related Questions