Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting clodstorage block error #55

Open
ListentoNews opened this issue Oct 4, 2022 · 2 comments
Open

Getting clodstorage block error #55

ListentoNews opened this issue Oct 4, 2022 · 2 comments

Comments

@ListentoNews
Copy link

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.
@simonweil
Copy link

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.

@lgallard
Copy link
Owner

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants