FEATURES PRICING ABOUT DOCS LOGIN

aws_elasticsearch_domain

Example Usage

resource "aws_elasticsearch_domain" "es" {
	domain_name = "tf-test"
	elasticsearch_version = "1.5"
	advanced_options {
		"rest.action.multi.allow_explicit_index" = true
	}

	access_policies = <<CONFIG
{
	"Version": "2012-10-17",
	"Statement": [
		{
			"Action": "es:*",
			"Principal": "*",
			"Effect": "Allow",
			"Condition": {
				"IpAddress": {"aws:SourceIp": ["66.193.100.22/32"]}
			}
		}
	]
}
CONFIG

	snapshot_options {
		automated_snapshot_start_hour = 23
	}
	
	tags {
      Domain = "TestDomain"
    }
}

Argument Reference

The following arguments are supported:

ebs_options supports the following attributes:

cluster_config supports the following attributes:

snapshot_options supports the following attribute:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io

REQUEST A DEMO