Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r/aws_elasticsearch_domain_policy: handle domain update propagation d…
…elays This change adds logic to retry ValidationExceptions which indicate a domain change is in-progress. When a domain policy change immediately follows domain creation or modification, delays in propagation of the ACTIVE status can cause intermittent ValidationExceptions. These errors are now retried for a short interval (2 minutes), which should allow configurations pairing domain and domain policy resources to complete successfully on the first apply. ```console % make testacc PKG=elasticsearch TESTS=TestAccElasticsearchDomainPolicy_ ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.21.8 test ./internal/service/elasticsearch/... -v -count 1 -parallel 20 -run='TestAccElasticsearchDomainPolicy_' -timeout 360m --- PASS: TestAccElasticsearchDomainPolicy_basic (1956.43s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/elasticsearch 1962.012s ```
- Loading branch information