Skip to content

[02-scale] Unsupported Block type #242

@carlosrodlop

Description

@carlosrodlop

Description

Please provide a clear and concise description of the issue you are encountering, and a reproduction of your configuration. The reproduction MUST be executable by running terraform init && terraform apply without any further changes.

If your request is for a new feature, please use the Feature request template.

⚠️ 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

  • Module version [Required]:

  • Terraform version:

  • Provider version(s):

Reproduction Code [Required]

Steps to reproduce the behavior:

Running a fresh `ROOT=02-at-scale make deploy` from companion agent the terminal is throwing:


Error: Unsupported block type

  on providers.tf line 24, in provider "helm":
  24:   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 block type

  on .terraform/modules/eks/modules/eks-managed-node-group/main.tf line 139, in resource "aws_launch_template" "this":
 139:   dynamic "elastic_gpu_specifications" {

Blocks of type "elastic_gpu_specifications" are not expected here.

Error: Unsupported block type

  on .terraform/modules/eks/modules/eks-managed-node-group/main.tf line 147, in resource "aws_launch_template" "this":
 147:   dynamic "elastic_inference_accelerator" {

Blocks of type "elastic_inference_accelerator" are not expected here.

Error: Unsupported block type

  on .terraform/modules/eks/modules/self-managed-node-group/main.tf line 192, in resource "aws_launch_template" "this":
 192:   dynamic "elastic_gpu_specifications" {

Blocks of type "elastic_gpu_specifications" are not expected here.

Error: Unsupported block type

  on .terraform/modules/eks/modules/self-managed-node-group/main.tf line 200, in resource "aws_launch_template" "this":
 200:   dynamic "elastic_inference_accelerator" {

Blocks of type "elastic_inference_accelerator" are not expected here.

Expected behavior

Actual behavior

Terminal Output Screenshot(s)

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions