Comments (3)
@gzanotto using the public example, the plan shows the right settings for cluster_config
:
+ cluster_config {
+ dedicated_master_count = 3
+ dedicated_master_enabled = true
+ dedicated_master_type = "r5.large.elasticsearch"
+ instance_count = 3
+ instance_type = "r5.large.elasticsearch"
+ warm_enabled = false
+ zone_awareness_enabled = true
+ zone_awareness_config {
+ availability_zone_count = 3
}
}
Take into account this:
zone_awareness_enabled - (Optional) Indicates whether zone awareness is enabled, set to true for multi-az deployment. To enable awareness with three Availability Zones, the
availability_zone_count
within thezone_awareness_config
must be set to3
.
And also:
availability_zone_count - (Optional) Number of Availability Zones for the domain to use with
zone_awareness_enabled
. Defaults to2
. Valid values:2
or3
If you are using VPC, also check you VPC has at least 3 AZs.
from terraform-aws-elasticsearch.
I faced this issue too, it is happening because of a type casting issue i think.
terraform-aws-elasticsearch/main.tf
Line 88 in c404840
This line is using contains(["2", "3"]...
Changing it to contains([2, 3]...
makes it work for 3 zones.
from terraform-aws-elasticsearch.
@gzanotto @animeshjain release 0.10.0 removed the constraint. I hope it fixes for you!
from terraform-aws-elasticsearch.
Related Issues (20)
- elasticsearch with cognito
- Elasticsearch with Cognito HOT 1
- Enable Ultrawarm storage option of ElasticsearchClusterConfig HOT 4
- Configuration drift for a warm node in module 0.6.0 HOT 3
- How to configure multiple AWS ElasticSearchlogs? HOT 5
- New Feature: variable create. HOT 8
- Bug: The cluster deleted and recreated after every apply HOT 5
- Add support for custom domain names on the es endpoint HOT 4
- Wrong master_user_name var when enabling advanced_security_options_internal_user_database_enabled HOT 2
- Add saml authentication support. HOT 1
- Issue with VPC config on 0.9.0 HOT 3
- cannot enable multiple log types HOT 5
- Module fails if we create cloudwatch log group in same stack where we call the module HOT 1
- Could you please add support of a cold storage tier for AWS OpenSearch Service ? HOT 10
- Getting clodstorage block error HOT 2
- Support for auto_tune_options HOT 2
- Support required gp3 throughput parameter
- Error: error creating IAM Service Linked Role
- Domain is getting recreated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-elasticsearch.