terraform-aws-elasticsearch icon indicating copy to clipboard operation
terraform-aws-elasticsearch copied to clipboard

availability_zone_count when we set to 3 getting an error

Open lakshmiramaswamy opened this issue 1 year ago • 0 comments

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

lakshmiramaswamy avatar Aug 28 '24 13:08 lakshmiramaswamy