terraform-community-modules / tf_aws_elasticsearch

[DEPRECATED] Use https://github.com/terraform-aws-modules/terraform-aws-opensearch
MIT License
79 stars 97 forks source link

Error creating ElasticSearch domain #52

Closed lymych closed 3 years ago

lymych commented 3 years ago

Terraform apply error:

Error creating ElasticSearch domain: ValidationException: 1 validation error detected: Value '' at 'domainEndpointOptions.tLSSecurityPolicy' failed to satisfy constraint: Member must satisfy enum value set: [Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07]

The quick fix here is to specify the optional argument:

tls_security_policy = "Policy-Min-TLS-1-0-2019-07"