es-cluster
egarbi/es-cluster/aws
Create an elasticsearch domain with VPC support in AWS
Install
README
AWS Elasticsearch Service Terraform Module ========================================== Usage: ``hcl data "aws_region" "current" {} data "aws_caller_identity" "current" {} module "es-cluster" { source = "git::https://github.com/egarbi/terraform-aws-es-cluster" name = "example" vpc_id = "vpc-xxxxx" subnet_ids = [ "subnet-one" ] zone_id = "ZA863HSKDDD9" itype = "m4.large.elasticsearch" ingress_allow_cidr_blocks = [ "10.20.0.0/16", "10.22.0.0/16" ] access_policies = AWS Supports up to 3 AZ's for a multi-az configuration. Understand that if you operate in more than 3 AZ's and you choose to deploy master nodes, only 3 AZ's will be supported and any more than that may result in TF returning AWS API errors. For more information see here Inputs | Name | Description | Type | Default | Required | |---
Inputs (23)
| Name | Type | Description | Default |
|---|---|---|---|
| vpc_id | string | Vpc id where the Elastic Search Service cluster will be launched. | required |
| name | string | Elastic Search Service cluster name. | required |
| subnet_ids | list(string) | List of VPC Subnet IDs for the Elastic Search Service EndPoints will be created. | required |
| create_iam_service_linked_role | string | Control the creation of the default service role, set it to false if you have al | true |
| indices_query_bool_max_clause_count | string | Maximum number of clauses allowed in a Lucene boolean query. | 1024 |
| elasticsearch_version | string | Elastic Search Service cluster version number. | "5.5" |
| snapshot_start | string | Elastic Search Service maintenance/snapshot start time. | 0 |
| access_policies | string | IAM policy document specifying the access policies for the domain. | "" |
| icount | string | Elastic Search Service cluster Ec2 instance number. | 1 |
| indices_fielddata_cache_size | string | Percentage of Java heap space allocated to field data. | "" |
| ingress_allow_cidr_blocks | list(string) | Specifies the ingress CIDR blocks allowed. | [] |
| ingress_allow_security_groups | list(string) | Specifies the ingress security groups allowed. | [] |
| itype | string | Elastic Search Service cluster Ec2 instance type. | "m4.large.elasticsearch" |
| rest_action_multi_allow_explicit_index | string | Specifies whether explicit references to indices are allowed inside the body of | "true" |
| volume_size | string | Default size of the EBS volumes. | "35" |
| dedicated_master | string | Indicates whether our cluster have dedicated master nodes enabled. | false |
| volume_type | string | Default type of the EBS volumes. | "gp2" |
| zone_id | string | Route 53 zone id where the DNS record will be created. | "" |
| encryption_enabled | string | Enable encription in Elastic Search. | "false" |
| encryption_kms_key_id | string | Enable encription in Elastic Search. | "" |
| mcount | string | Elastic Search Service cluster dedicated master Ec2 instance number. | 0 |
| mtype | string | Elastic Search Service cluster dedicated master Ec2 instance type. | "" |
| zone_awareness | string | Indicates whether zone awareness is enabled. | false |
Outputs (7)
es_arn — Amazon Resource Name (ARN) of the domaines_availability_zones_ids — If the domain was created inside a VPC, the names of the availability zones the configured subnet_ides_domain_id — Unique identifier for the domain.es_endpoint — Domain-specific endpoint used to submit index, search, and data upload requests.es_kibana_endpoint — Domain-specific endpoint for kibana without https scheme.es_sg — The SG id created to allow communication with ElasticSearch cluster.es_vpc_ids — The VPC ID if the domain was created inside a VPC.Resources (5)
Topics & Tags
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,