英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论