elasticsearch

appzen-oss/elasticsearch/aws

Terraform Module HCL AWS

Terraform module to provision an Elasticsearch cluster with built-in integrations with Kibana and Logstash.

Install
module "elasticsearch" {
source = "appzen-oss/elasticsearch/aws"
version = "1.0.7"
}
plain text: /constructs/tfmod-appzen-oss-elasticsearch-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-aws-elasticsearch Terraform module to provision an Elasticsearch cluster with built-in integrations with Kibana and Logstash. --- It's 100% Open Source and licensed under the APACHE2. We literally have [hundreds of terraform modules][terraform_modules] that are Open Source and well-maintained. Check them out! Introduction This module will create: - Elasticsearch cluster with the specified node count in the provided subnets in a VPC - Elasticsearch domain policy that accepts a list of IAM role ARNs from which to permit management traffic to the cluster - Security Group to control access to the Elasticsearch domain (inputs to the Security Group are other Security Groups or CIDRs blocks to be allowed to connect to the cluster) - DNS hostname record for Elasticsearch cluster (if DNS

Inputs (50)
NameTypeDescriptionDefault
namespacestringID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp'null
dedicated_master_countnumberNumber of dedicated master nodes in the cluster0
kibana_subdomain_namestringThe name of the subdomain for Kibana in the DNS zone (_e.g._ `kibana`, `ui`, `ui""
cognito_user_pool_idstringThe ID of the Cognito User Pool to use""
cognito_iam_role_arnstringARN of the IAM role that has the AmazonESCognitoAccess policy attached""
custom_endpoint_enabledboolWhether to enable custom endpoint for the Elasticsearch domain.false
stagestringID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bunull
attributeslist(string)ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, []
log_publishing_audit_enabledboolSpecifies whether log publishing option for AUDIT_LOGS is enabled or notfalse
domain_hostname_enabledboolExplicit flag to enable creating a DNS hostname for ES. If `true`, then `var.dnsfalse
regex_replace_charsstringTerraform regular expression (regex) string. Characters matching the regex will null
ebs_volume_typestringStorage type of EBS volumes"gp2"
domain_endpoint_options_tls_security_policystringThe name of the TLS security policy that needs to be applied to the HTTPS endpoi"Policy-Min-TLS-1-2-2019-07"
dedicated_master_enabledboolIndicates whether dedicated master nodes are enabled for the clusterfalse
elasticsearch_subdomain_namestringThe name of the subdomain for Elasticsearch in the DNS zone (_e.g._ `elasticsear""
warm_countnumberNumber of UltraWarm nodes2
iam_authorizing_role_arnslist(string)List of IAM role ARNs to permit to assume the Elasticsearch user role[]
zone_awareness_enabledboolEnable zone awareness for Elasticsearch clustertrue
advanced_optionsmap(string)Key-value string pairs to specify advanced configuration options{}
labels_as_tagsset(string)Set of labels (ID elements) to include as tags in the `tags` output. Default is [ "default" ]
… and 10 more inputs
Outputs (10)
domain_arn — ARN of the Elasticsearch domain
domain_name — Name of the Elasticsearch domain
domain_endpoint — Domain-specific endpoint used to submit index, search, and data upload requests
kibana_hostname — Kibana hostname
security_group_id — Security Group ID to control access to the Elasticsearch domain
domain_id — Unique identifier for the Elasticsearch domain
kibana_endpoint — Domain-specific endpoint for Kibana without https scheme
domain_hostname — Elasticsearch domain hostname to submit index, search, and data upload requests
elasticsearch_user_iam_role_name — The name of the IAM role to allow access to Elasticsearch cluster
elasticsearch_user_iam_role_arn — The ARN of the IAM role to allow access to Elasticsearch cluster
Resources (6)
aws_elasticsearch_domainaws_elasticsearch_domain_policyaws_iam_roleaws_iam_service_linked_roleaws_security_groupaws_security_group_rule
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.7
Cloud AWS
★ Stars0
Forks0
Total downloads5.3k
Inputs50
Outputs10
Resources6
Examples3
LicenseApache-2.0
Namespaceappzen-oss
Updated