how do I know if terraform aws_elasticsearch_domain "advanced_options" supports something like cluster_max_shards_per_node

huangapple go评论91阅读模式
英文:

how do I know if terraform aws_elasticsearch_domain "advanced_options" supports something like cluster_max_shards_per_node

问题

基本上我正在阅读文档... https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticsearch_domain

其中定义了一个 advanced_options,被描述为“用于指定高级配置选项的键值对字符串”。

但是我如何找出支持的高级选项是什么... 我特别想配置 max_shards_per_node,但也想学会自己查找。

我尝试了一些猜测... 但得到了一个 ValidationException。 所以肯定有人知道什么是允许的...

另外,我不能使用 phillbaker/elasticsearch,因为集群是私有的,因此无法让terraform访问API来进行配置。

英文:

Basically I am reading the docs... https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticsearch_domain

And there is an advanced_options defined as "Key-value string pairs to specify advanced configuration options"

But how do I find out what advanced options are supported... I am specifically trying to configure the max_shards_per_node, but looking to learn to fish here as well.

I did try a couple guesses... and got a ValidationException. So something knows what is allowed...

Also, I can't use phillbaker/eslasticsearch because the cluster is private, and so terraform can't hit the api's to do the configuration.

答案1

得分: 1

通过查看源代码,您将看到有两个高级选项:

  • rest.action.multi.allow_explicit_index
  • override_main_response_version
英文:

> But how do I find out what advanced options are supported...

By looking at the source code, you'll see that there are two advanced options:

  • rest.action.multi.allow_explicit_index
  • override_main_response_version

huangapple
  • 本文由 发表于 2023年6月16日 01:43:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/76484244.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定