Skip to content

[FEATURE] retries implemented, or max_retries configable if retry already implemented #199

Open
@FireballDWF

Description

@FireballDWF

Is your feature request related to a problem?

"elastic: Error 503 (Service Unavailable)" is sometimes returned when the access policy creation which allows usage has not achieved eventually consistency before invocation of resource creation like opensearch_index which actually depends on the policy.

What solution would you like?

retries on 503 errors, and other transient failures.

What alternatives have you considered?

could add sleep between the two calls

Do you have any additional context?

Implement retries similar to the AWS provider behavior - https://registry.terraform.io/providers/hashicorp/aws/latest/docs#max_retries

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    📦 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions