elasticsearch

foss-cafe/elasticsearch/aws

Terraform Module HCL AWS

Terraform module for AWS Elasticsearch service

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

!Static security analysis for Terraform terraform module for AWS Elasticsearch Service Examples Check the examples folder Requirements | Name | Version | |------|---------| | terraform | >= 0.12.7, = 2.68, = 2.68, { "dedicated_master_count": 3, "dedicated_master_enabled": true, "dedicated_master_type": "r5.large.elasticsearch", "instance_count": 3, "instance_type": "r5.large.elasticsearch", "zone_awareness_enabled": false } | no | | cognito\_options | (Optional) Options for Amazon Cognito Authentication for Kibana | map | { "enabled": false } | no | | create | Do you want to create ES Cluster | bool | true | no | | create\_service\_link\_role | Create service link role for AWS Elasticsearch Service | bool | true | no | | domain\_endpoint\_options | (Optional) Domain endpoint HTTP(S) relate

Inputs (21)
NameTypeDescriptionDefault
access_policiesstring(Optional) IAM policy document specifying the access policies for the domain required
domain_namestring(Required) Name of the domain. required
cloudwatch_log_kms_key_idstring(Optional) The ARN of the KMS Key to use when encrypting log data. Please note, required
advanced_optionsmap(string) (Optional) Key-value string pairs to specify advanced configuration options. No{}
snapshot_optionsany(Optional) Snapshot related options{}
log_publishing_optionsany(Optional) Options for publishing slow and application logs to CloudWatch Logs. [ { "log_type": "INDEX_SLOW_LOGS"
create_service_link_roleboolCreate service link role for AWS Elasticsearch Servicetrue
advanced_security_optionsany (Optional) Options for fine-grained access control.{}
domain_endpoint_optionsany(Optional) Domain endpoint HTTP(S) related options.{ "enforce_https": true, "tls_securi
cloudwatch_log_group_arnstring(Optional) ARN of the Cloudwatch log group to which log needs to be published.""
vpc_optionsany(Optional) VPC related options, Adding or removing this configuration forces a n{}
tagsmap(Optional) A map of tags to assign to the resource{}
timeoutsanyTimeouts map.{}
elasticsearch_versionstring(Optional) The version of Elasticsearch to deploy. Defaults to 1.5"1.5"
ebs_optionsany(Optional) EBS related options, may be required based on chosen instance size.{ "ebs_enabled": true, "volume_size"
encrypt_at_restanyOptional) Encrypt at rest options. Only available for certain instance types.{ "enabled": true }
node_to_node_encryptionany(Optional) Node-to-node encryption options.{ "enabled": false }
cluster_configany(Optional) Cluster configuration of the domain{ "dedicated_master_count": 3, "dedi
cognito_optionsany(Optional) Options for Amazon Cognito Authentication for Kibana{}
createboolDo you want to create ES Clustertrue
cloudwatch_log_retention_in_daysnumber(Optional) Specifies the number of days you want to retain log events in the spe0
Outputs (4)
arn — Amazon Resource Name (ARN) of the domain
domain_id — Unique identifier for the domain
endpoint — Domain-specific endpoint used to submit index, search, and data upload requests
kibana_endpoint — Domain-specific endpoint for kibana without https scheme
Resources (3)
aws_cloudwatch_log_groupaws_elasticsearch_domainaws_iam_service_linked_role
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars0
Forks2
Total downloads5.9k
Inputs21
Outputs4
Resources3
Examples2
LicenseNOASSERTION
Namespacefoss-cafe
Updated