Skip to content

Commit 569d8ca

Browse files
committed
Add custom_endpoint
1 parent dcd660d commit 569d8ca

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

main.tf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@ resource "aws_elasticsearch_domain" "es_domain" {
3333
dynamic "domain_endpoint_options" {
3434
for_each = local.domain_endpoint_options
3535
content {
36-
enforce_https = lookup(domain_endpoint_options.value, "enforce_https")
37-
tls_security_policy = lookup(domain_endpoint_options.value, "tls_security_policy")
36+
enforce_https = lookup(domain_endpoint_options.value, "enforce_https")
37+
tls_security_policy = lookup(domain_endpoint_options.value, "tls_security_policy")
38+
custom_endpoint_enabled = lookup(domain_endpoint_options.value, "custom_endpoint_enabled")
39+
custom_endpoint = lookup(domain_endpoint_options.value, "custom_endpoint")
40+
custom_endpoint_certificate_arn = lookup(domain_endpoint_options.value, "custom_endpoint_certificate_arn")
3841
}
3942
}
4043

0 commit comments

Comments
 (0)