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

17.10.0 Introduced a Breaking Change. #1570

Closed
kevinmstephens opened this issue Sep 3, 2021 · 4 comments · Fixed by #1571
Closed

17.10.0 Introduced a Breaking Change. #1570

kevinmstephens opened this issue Sep 3, 2021 · 4 comments · Fixed by #1571

Comments

@kevinmstephens
Copy link

kevinmstephens commented Sep 3, 2021

Description

We saw builds breaking 2 hours ago and I found this change that I think caused it and the timing matches up.

Terraform v1.0.3
on linux_amd64
Initializing plugins and modules...
╷
│ Error: Unsupported block type
│ 
│   on .terraform/modules/eks_cluster.eks/modules/node_groups/node_groups.tf line 72, in resource "aws_eks_node_group" "workers":
│   72:   dynamic "update_config" {
│ 
│ Blocks of type "update_config" are not expected here.
╵
Operation failed: failed running terraform plan (exit 1)

⚠️ Note

Before you submit an issue, please perform the following first:

  1. Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
  2. Re-initialize the project root to pull down modules: terraform init
  3. Re-attempt your terraform plan or apply and check if the issue still persists

Versions

  • Terraform: 1.0.3
  • Provider(s): required_providers {
    aws = {
    source = "hashicorp/aws"
    }
    datadog = {
    source = "DataDog/datadog"
    }
    kubernetes = {
    source = "hashicorp/kubernetes"
    version = ">= 2.0.0"
    }
    rancher2 = {
    source = "rancher/rancher2"
    }
    spotinst = {
    source = "spotinst/spotinst"
    }
    mysql = {
    source = "terraform-providers/mysql"
    }
    github = {
    source = "integrations/github"
    }
    }
  • Module: "terraform-aws-modules/eks/aws" 17.9.0 last known working version. 17.10.0 showed error.

Reproduction

Steps to reproduce the behavior:

Code Snippet to Reproduce

Expected behavior

Actual behavior

Terminal Output Screenshot(s)

Additional context

@bryantbiggs
Copy link
Member

Can you please provide some additional information to help troubleshoot where the issue is emanating from

Versions

- Terraform:

- Provider(s):

- Module:

@antonbabenko
Copy link
Member

@kevinmstephens thanks for opening this issue!

My bad, I missed the point that update_config support was added in v3.56.0 of Terraform AWS provider which was released last week.

I will make another release to fix versions requirements now.

@antonbabenko
Copy link
Member

@kevinmstephens Fixed in #1571. v17.11.0 has been just released. Please try it and open a new issue if there is anything wrong.

I apologize for the incomplete release in v17.10.0.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants