opensearch-domain

dod-iac/opensearch-domain/aws

Terraform Module HCL AWS

An Amazon OpenSearch Service domain

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

Usage Creates an Amazon OpenSearch Service domain with secure defaults. This module always requires node-to-node encryption, encryption at rest, HTTPS endpoints, and use of a VPC. ``hcl module "opensearch_kms_key" { source = "dod-iac/opensearch-kms-key/aws" name = format("alias/app-%s-opensearch-%s", var.application, var.environment) description = format("A KMS key used to encrypt data in Amazon OpenSearch Service for %s:%s.", var.application, var.environment) principals = ["*"] tags = { Application = var.application Environment = var.environment Automation = "Terraform" } } module "opensearch_domain" { source = "dod-iac/opensearch-domain/aws" name = format("app-%s-%s", var.application, var.environment) kms_key_arn = module.opensearch_kms_key.aws_kms_key_arn ingress_cidr_blocks = ["0.0.0.0

Inputs (27)
NameTypeDescriptionDefault
vpc_idstringThe ID of the VPC that the security group for the Amazon OpenSearch Service doma required
namestringName of the Amazon OpenSearch Service domain. required
dedicated_master_enabledboolUse dedicated master nodes with the Amazon OpenSearch Service domain.false
ingress_security_groupslist(string)A list of EC2 security groups to allow access to the Amazon OpenSearch Service d[]
security_group_namestringThe name of the EC2 security group used by the Amazon OpenSearch Service domain.""
subnet_idslist(string)List of VPC Subnet IDs for the Amazon OpenSearch Service domain endpoints to be []
warm_enabledboolEnable UltraWarm data nodes for the domain to economically retain large amounts false
automated_snapshot_start_hourstringHour during which the service takes an automated daily snapshot of the indices i23
dedicated_master_instance_typestringInstance type of the dedicated main nodes in the cluster. If not provided, then""
ingress_cidr_blockslist(string)A list of CIDR blocks to allow access to the Amazon OpenSearch Service domain. []
max_clause_countnumberSpecifies the maximum number of allowed boolean clauses in a query. The number m1024
volume_sizenumberThe size of EBS volumes attached to data nodes (in GB).20
volume_iopsnumberBaseline input/output (I/O) performance of EBS volumes attached to data nodes. 3000
volume_throughputnumberSpecifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. A125
fielddata_cache_sizenumberSpecifies the percentage of heap space that is allocated to fielddata. The value20
warm_instance_typestringInstance type for the domain's warm nodes. Valid values are `ultrawarm1.medium.s"ultrawarm1.medium.search"
access_policiesstringIAM policy document specifying the access policies for the domain. If not speci""
cold_enabledboolEnable cold storage for the domain to store infrequently accessed or historical false
instance_countnumberNumber of instances in the cluster.1
engine_versionstringEither Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the"OpenSearch_1.3"
kms_key_arnstringThe KMS key ARN to encrypt the Amazon OpenSearch Service domain with. If not spe""
warm_countnumberNumber of warm nodes in the cluster. Valid values are between 2 and 150.3
Outputs (5)
kibana_endpoint — Domain-specific endpoint for kibana without https scheme.
arn — The ARN of the Amazon OpenSearch Service domain.
id — The id of the Amazon OpenSearch Service domain.
name — The name of the Amazon OpenSearch Service domain.
endpoint — Domain-specific endpoint used to submit index, search, and data upload requests.
Resources (3)
aws_opensearch_domainaws_security_groupaws_security_group_rule
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars1
Forks1
Total downloads3.5k
Inputs27
Outputs5
Resources3
LicenseMIT
Namespacedod-iac
Updated