terraform-aws-elasticsearch
terraform-aws-elasticsearch copied to clipboard
Getting clodstorage block error
error output:
Error: Unsupported block type
on .terraform/modules/search/main.tf line 86, in resource "aws_elasticsearch_domain" "es_domain":
86: dynamic "cold_storage_options" {
Blocks of type "cold_storage_options" are not expected here.
This is because you are using an old AWS provider. Upgrade to latest 4 and it will work.
versions.tf needs to be updated here to the correct minimal AWS provider version.
@simonweil versions.tf has almost no constraints:
terraform {
required_version = ">= 0.12.9"
required_providers {
aws = ">= 3.35.0"
random = ">=3.1.2"
}
}
@ListentoNews what Terraform and AWS provider versions are you using?