Skip to content

[Bug]: workshop Terraform EKS config uses pre-v21 module arguments with terraform-aws-modules/eks/aws v21.0.9 #1842

@andriimazurslalom

Description

@andriimazurslalom

Installation method

Own AWS account

What happened?

Summary

The Terraform in environment/terraform/eks.tf is pinned to terraform-aws-modules/eks/aws 21.0.9, but the module block uses older argument names that are not valid in v21.

Files

  • environment/terraform/eks.tf
  • environment/terraform/variables.tf

Actual result

Terraform fails with errors like:
An argument named "cluster_name" is not expected here.
An argument named "cluster_version" is not expected here.
An argument named "cluster_addons" is not expected here.
An argument named "cluster_remote_network_config" is not expected here.

What did you expect to happen?

Expected result

The tutorial and repo should be internally consistent so terraform apply works without manual translation of module arguments.

How can we reproduce it?

From environment/terraform:

terraform apply -var="cluster_name=$EKS_CLUSTER_NAME" -auto-approve

Anything else we need to know?

No response

EKS version

1.33

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions