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
216 stars 231 forks source link

Add `override_main_response_version` input parameter #153

Closed grommir closed 1 year ago

grommir commented 1 year ago

Describe the Feature

It's nice to have support for this feature https://docs.aws.amazon.com/opensearch-service/latest/developerguide/rename.html#rename-upgrade

Expected Behavior

There is no such messages:

~ resource "aws_elasticsearch_domain" "default" {
      ~ advanced_options      = {
          - "override_main_response_version" = "true" -> null
        }
        id                    = "arn:aws:es:us-east-2:123456789:domain/dev-elasticsearch"
        tags                  = {
            "Name"  = "dev-elasticsearch"
            "Stage" = "dev"
        }
        # (8 unchanged attributes hidden)

        # (14 unchanged blocks hidden)
    }

Use Case

As usual

Describe Ideal Solution

Add override_main_response_version input parameter

Alternatives Considered

No response

Additional Context

No response

grommir commented 1 year ago

Oh. It looks like AWS provider doesn't support this parameter yet. Will close it.