Closed ashraf133 closed 1 year ago
Hello,
│ Error: Malformed version: OpenSearch_2.3
Terraform = 1.2.5 terraform-provider-elasticsearch = 2.0.7 aws opensearch = 2.3
~ resource "elasticsearch_index_template" "vpc-flowlogs-v2" { ~ body = jsonencode( ~ { + template = { + mappings = { + properties = { + cw_timestamp = { + format = "epoch_second||epoch_millis" + type = "date" } + end = { + format = "epoch_second||epoch_millis" + type = "date" } + start = { + format = "epoch_second||epoch_millis" + type = "date" } } } } # (1 unchanged element hidden) } )```
It works while removing version from provider
This provider does not support Opensearch 2.x, please see https://github.com/phillbaker/terraform-provider-elasticsearch/issues/298#issuecomment-1327909365
Hello,
│ Error: Malformed version: OpenSearch_2.3
Terraform = 1.2.5 terraform-provider-elasticsearch = 2.0.7 aws opensearch = 2.3