cloudposse / terraform-aws-elasticsearch

Terraform module to provision an Elasticsearch cluster with built-in integrations with Kibana and Logstash.
https://cloudposse.com/accelerate
Apache License 2.0
216 stars 231 forks source link

availability_zone_count when we set to 3 getting an error #192

Open lakshmiramaswamy opened 2 weeks ago

lakshmiramaswamy commented 2 weeks ago

Describe the Bug

availability_zone_count we are not able to set to 3.. Its just taking value as 2 ..

Error: ValidationException: You must choose an even number of data nodes for a two Availability Zone deployment

Even in document, I see it's specified either 1 or 2.. but in AWS Console we have an option of choosing 3 AZ...

Expected Behavior

It should accept 3 az for availability_zone_count..

Steps to Reproduce

zone_awareness_enabled = true availability_zone_count = 3 subnet_count = 3 dedicated_master_enabled = true dedicated_master_count = 3

Environment

No response

Additional Context

In AWS CONSOLE we do have option choose as 3 AZ and instance count as 3. But this module is not letting us to do with it