Skip to content

Add --retry to overcome intermittent failures #2289

@elad

Description

@elad

Hello,

I'm experiencing the same issue as reported on https://forums.aws.amazon.com/thread.jspa?threadID=237416 where sometimes an EC2 instance, although launched with an IAM role, isn't able to perform API calls (e.g. download from S3) and fails with "Unable to locate credentials."

This breaks bootstrap scripts that rely on the EC2 instance being able to work with other AWS resources.

A --retry option will make it possible to automatically retry, potentially with a backoff, the same request several times to overcome such failures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    guidanceQuestion that needs advice or information.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions