Skip to content

Datomni/terraform-aws-elasticsearch-cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-elasticsearch-tf-module

Overview

This module creates a simple, single node ElasticSearch cluster on AWS.

Usage

module "elasticsearch-cluster" {
  source = "Datomni/elasticsearch-cluster/aws"

  domain_name     = var.domain_name
  master_user     = var.master_user
  master_password = var.master_password
}

Examples

For a complete implementation example, see examples/complete

Requirements

Name Version
terraform >= 1.3.1
aws >= 3.45.0
random >= 3.1.0

Providers

Name Version
aws >= 3.45.0

Modules

No modules.

Resources

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

Inputs

Name Description Type Default Required
allow_ip_list List of IP addresses that can access the ElasticSearch cluster list(string)
[
"0.0.0.0/0"
]
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

Outputs

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages