Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resource/aws_elasticsearch_domain: Support three Availability Zone awareness #9398

Merged
merged 10 commits into from
Jul 18, 2019

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Jul 17, 2019

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Closes #7504
Supersedes #8144

Release note for CHANGELOG:

* resource/aws_elasticsearch_domain: Add `cluster_config` configuration block `zone_awareness_config` configuration block (support three Availability Zone awareness)

Output from acceptance testing:

--- PASS: TestAccAWSElasticSearchDomain_duplicate (597.97s)
--- PASS: TestAccAWSElasticSearchDomain_importBasic (725.23s)
--- PASS: TestAccAWSElasticSearchDomain_encrypt_at_rest_default_key (802.19s)
--- PASS: TestAccAWSElasticSearchDomain_tags (847.52s)
--- PASS: TestAccAWSElasticSearchDomain_basic (945.92s)
--- PASS: TestAccAWSElasticSearchDomain_v23 (1017.30s)
--- PASS: TestAccAWSElasticSearchDomain_vpc (1160.91s)
--- PASS: TestAccAWSElasticSearchDomain_policy (1210.63s)
--- PASS: TestAccAWSElasticSearchDomain_encrypt_at_rest_specify_key (1258.72s)
--- PASS: TestAccAWSElasticSearchDomain_NodeToNodeEncryption (1415.78s)
--- PASS: TestAccAWSElasticSearchDomain_complex (1476.53s)
--- PASS: TestAccAWSElasticSearchDomain_LogPublishingOptions (1695.50s)
--- PASS: TestAccAWSElasticSearchDomain_internetToVpcEndpoint (2051.69s)
--- PASS: TestAccAWSElasticSearchDomain_CognitoOptionsCreateAndRemove (2282.65s)
--- PASS: TestAccAWSElasticSearchDomain_update (2531.43s)
--- PASS: TestAccAWSElasticSearchDomain_CognitoOptionsUpdate (2880.18s)
--- PASS: TestAccAWSElasticSearchDomain_update_volume_type (3129.68s)
--- PASS: TestAccAWSElasticSearchDomain_vpc_update (3163.77s)
--- PASS: TestAccAWSElasticSearchDomain_withDedicatedMaster (3577.62s)
--- PASS: TestAccAWSElasticSearchDomain_update_version (3778.04s)
--- PASS: TestAccAWSElasticSearchDomain_ClusterConfig_ZoneAwarenessConfig (5371.73s)

@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. service/elasticsearch Issues and PRs that pertain to the elasticsearch service. labels Jul 17, 2019
@ghost ghost added size/L Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. documentation Introduces or discusses updates to documentation. labels Jul 17, 2019
bflad added 2 commits July 17, 2019 20:00
…arenessConfig import testing

The resource ID is an ARN and when used during import, returns an error that cannot be parsed by the AWS Go SDK:

```
--- FAIL: TestAccAWSElasticSearchDomain_ClusterConfig_ZoneAwarenessConfig (1020.88s)
    testing.go:568: Step 1 error: SerializationError: failed to unmarshal response error
        	status code: 400, request id:
        caused by: UnmarshalError: error message missing
```

Instead, set the import test ID to the match domain name.
@bflad bflad marked this pull request as ready for review July 18, 2019 04:46
@bflad bflad requested a review from a team July 18, 2019 04:46
Copy link
Contributor

@nywilken nywilken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good - nicely done.

@nywilken nywilken added this to the v2.20.0 milestone Jul 18, 2019
@bflad bflad merged commit 4f08dd0 into master Jul 18, 2019
@bflad bflad deleted the jtcressy-master branch July 18, 2019 16:52
bflad added a commit that referenced this pull request Jul 18, 2019
aknysh pushed a commit to cloudposse/terraform-aws-elasticsearch that referenced this pull request Jul 28, 2019
* Allow use of 3 availability zones after hashicorp/terraform-provider-aws#9398

* Update module documentation

* Move zone_awareness out of zone_awareness_config

* Add an extra az to th tfvars

* Revert "Add an extra az to th tfvars"

This reverts commit cdc0d26.
Shogan pushed a commit to Shogan/terraform-aws-elasticsearch that referenced this pull request Oct 3, 2019
* Allow use of 3 availability zones after hashicorp/terraform-provider-aws#9398

* Update module documentation

* Move zone_awareness out of zone_awareness_config

* Add an extra az to th tfvars

* Revert "Add an extra az to th tfvars"

This reverts commit cdc0d26.
@ghost
Copy link

ghost commented Nov 2, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Nov 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/elasticsearch Issues and PRs that pertain to the elasticsearch service. size/L Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for AWS Elasticsearch across 3 availability zones
2 participants