cloudposse / terraform-aws-elasticsearch

Terraform module to provision an Elasticsearch cluster with built-in integrations with Kibana and Logstash.
https://cloudposse.com/accelerate
Apache License 2.0
218 stars 231 forks source link

Application Logs option cannot be specified for Elasticsearch version : 2.3 (same for 1.5) #102

Open j00p34 opened 3 years ago

j00p34 commented 3 years ago

Describe the Bug

Module doesn't work with older ES versions (tested with 1.5 and 2.3) log_publishing_options is not supported in older versions Error creating ElasticSearch domain: InvalidTypeException: Application Logs option cannot be specified for Elasticsearch version : 2.3

Expected Behavior

Elasticsearch gets created

Steps to Reproduce

Set Elasticsearch version to 1.5 or 2.3

JoostSaanen commented 3 years ago

I've just made a PR for this: https://github.com/cloudposse/terraform-aws-elasticsearch/pull/103