elasticsearch 地形:在ElasticSearch中设置最大桶数
我需要在elasticsearch aws中设置最大桶数。到目前为止,我已经尝试在模块块中使用max_buckets键,但没有成功。下一次尝试是使用高级选项
elasticsearch 地形:在ElasticSearch中设置最大桶数,
elasticsearch,terraform,
elasticsearch,Terraform,我需要在elasticsearch aws中设置最大桶数。到目前为止,我已经尝试在模块块中使用max_buckets键,但没有成功。下一次尝试是使用高级选项 module "elasticsearch" { es_version = "6.3" advanced_options = { "search.max_buckets" = "123456" } 但这导致: Error: Unsuppo
module "elasticsearch" {
es_version = "6.3"
advanced_options = {
"search.max_buckets" = "123456"
}
但这导致:
Error: Unsupported argument
on elasticsearch.tf line 14, in module "elasticsearch":
14: advanced_options = {
如何设置最大桶数?您使用的是哪个模块?该资源具有
advanced\u options
参数
高级\u选项-用于指定高级配置选项的键值字符串对。请注意,这些配置选项的值必须是字符串(用引号括起来)
你能提供更多关于你的实施的细节吗?在您的示例中,
search.max_bucket
似乎缺少双引号,如果您使用的是模块,我认为您应该传递source
参数。>在您的示例中,似乎双引号:示例中的键入错误!
resource "aws_elasticsearch_domain" "es" {
domain_name = "${var.domain}"
elasticsearch_version = "6.3"
advanced_options = {
"rest.action.multi.allow_explicit_index" = "true"
}
}