This module creates a simple, single node ElasticSearch cluster on AWS.
module "elasticsearch-cluster" {
source = "Datomni/elasticsearch-cluster/aws"
domain_name = var.domain_name
master_user = var.master_user
master_password = var.master_password
}
For a complete implementation example, see examples/complete
Name | Version |
---|---|
terraform | >= 1.3.1 |
aws | >= 3.45.0 |
random | >= 3.1.0 |
Name | Version |
---|---|
aws | >= 3.45.0 |
No modules.
Name | Type |
---|---|
aws_cloudwatch_log_group.cloudwatch_log_group | resource |
aws_cloudwatch_log_resource_policy.cloudwatch_log_group_policy | resource |
aws_elasticsearch_domain.elasticsearch_domain | resource |
aws_elasticsearch_domain_policy.main | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
allow_ip_list | List of IP addresses that can access the ElasticSearch cluster | list(string) |
[ |
no |
domain_name | Name of the domain | string |
n/a | yes |
ebs_volume_size | Size of EBS volumes attached to data nodes (in GiB) | number |
50 |
no |
elasticsearch_version | Version of Elasticsearch to deploy. | string |
"7.10" |
no |
instance_count | Number of instances in the cluster | number |
1 |
no |
instance_type | Instance type of data nodes in the cluster | string |
"t3.small.elasticsearch" |
no |
log_retention_days | Cloudwatch log retention period | number |
7 |
no |
master_password | Main user's password, which is stored in the Amazon Elasticsearch Service domain's internal database | string |
n/a | yes |
master_user | Main user's username, which is stored in the Amazon Elasticsearch Service domain's internal database | string |
n/a | yes |
Name | Description |
---|---|
elasticsearch_endpoint | Domain-specific endpoint used to submit index, search, and data upload requests |
kibana_endpoint | Domain-specific endpoint for kibana without https scheme |