Skip to content

Conversation

walkline
Copy link
Contributor

Ad the moment when you run fresh terraform init and then run terraform apply command you would get the next errors:

│ Error: Unsupported block type
│
│   on providers.tf line 44, in provider "helm":
│   44:   kubernetes {
│
│ Blocks of type "kubernetes" are not expected here. Did you mean to define
│ argument "kubernetes"? If so, use the equals sign to assign it a value.
╵
╷
│ Error: Unsupported argument
│
│   on .terraform/modules/eks_blueprints/main.tf line 428, in resource "aws_eks_addon" "before_compute":
│  428:   resolve_conflicts        = try(each.value.resolve_conflicts, "OVERWRITE")
│
│ An argument named "resolve_conflicts" is not expected here.
╵
╷
│ Error: Unsupported block type
│
│   on .terraform/modules/eks_blueprints/modules/eks-managed-node-group/main.tf line 104, in resource "aws_launch_template" "this":
│  104:   dynamic "elastic_gpu_specifications" {
│
│ Blocks of type "elastic_gpu_specifications" are not expected here.
╵
╷
│ Error: Unsupported block type
│
│   on .terraform/modules/eks_blueprints/modules/eks-managed-node-group/main.tf line 112, in resource "aws_launch_template" "this":
│  112:   dynamic "elastic_inference_accelerator" {
│
│ Blocks of type "elastic_inference_accelerator" are not expected here.
╵
╷
│ Error: Unsupported block type
│
│   on .terraform/modules/eks_blueprints/modules/self-managed-node-group/main.tf line 115, in resource "aws_launch_template" "this":
│  115:   dynamic "elastic_gpu_specifications" {
│
│ Blocks of type "elastic_gpu_specifications" are not expected here.
╵
╷
│ Error: Unsupported block type
│
│   on .terraform/modules/eks_blueprints/modules/self-managed-node-group/main.tf line 123, in resource "aws_launch_template" "this":
│  123:   dynamic "elastic_inference_accelerator" {
│
│ Blocks of type "elastic_inference_accelerator" are not expected here.
╵

This PR addresses this issue.

@walkline walkline requested a review from a team as a code owner July 16, 2025 15:01
Copy link

@zlogic zlogic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, indeed it's best to stay at the current major version and prevent any major versions upgrades.

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

Successfully merging this pull request may close these issues.

2 participants