Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/resource/aws_elasticsearch_domain: Use multierror in sweeper an…
…d skip domains stuck in deleting status (#16648) Workaround for buggy API. Output from sweeper in AWS Commercial: ``` 2020/12/08 12:52:28 [DEBUG] Running Sweepers for region (us-west-2): 2020/12/08 12:52:28 [DEBUG] Running Sweeper (aws_elasticsearch_domain) in region (us-west-2) 2020/12/08 12:52:30 [INFO] Skipping Elasticsearch Domain (tf-test-5082256297594881822) with deleted status 2020/12/08 12:52:30 [INFO] Skipping Elasticsearch Domain (tf-test-841758105109071952) with deleted status 2020/12/08 12:52:30 Sweeper Tests ran successfully: - aws_elasticsearch_domain 2020/12/08 12:52:30 [DEBUG] Running Sweepers for region (us-east-1): 2020/12/08 12:52:30 [DEBUG] Running Sweeper (aws_elasticsearch_domain) in region (us-east-1) 2020/12/08 12:52:31 Sweeper Tests ran successfully: - aws_elasticsearch_domain ok github.com/terraform-providers/terraform-provider-aws/aws 4.998s ``` Output from sweeper in AWS GovCloud (US): ``` 2020/12/08 12:54:08 [DEBUG] Running Sweepers for region (us-gov-west-1): 2020/12/08 12:54:08 [DEBUG] Running Sweeper (aws_elasticsearch_domain) in region (us-gov-west-1) 2020/12/08 12:54:10 [DEBUG] Deleting ElasticSearch domain: "tf-test-579248222605063900" 2020/12/08 12:54:11 [DEBUG] Waiting for ElasticSearch domain "tf-test-579248222605063900" to be deleted 2020/12/08 12:56:54 Sweeper Tests ran successfully: - aws_elasticsearch_domain ok github.com/terraform-providers/terraform-provider-aws/aws 168.818s ```
- Loading branch information