Skip to content

ami_release_version bottlerocket not working with short version nameΒ #209

@QuentinBtd

Description

@QuentinBtd

Describe the Bug

I'm trying to deploy a nodegroup with Bottlerocket AMI following the documentation:

The EKS AMI "release version" to use.
[...]
Examples:
[---]
Bottlerocket: 1.2.0 or 1.2.0-ccf1b754

I tried with ami_release_version = ["1.34.0"] but I've got this error:

Error: creating EKS Node Group (cluster-noprod:autoscalers-br-workers-hen): operation error EKS: CreateNodegroup, https response error StatusCode: 400, RequestID: xxxxxxxxxxxxxx, InvalidParameterException: Requested release version 1.34.0 is not valid for kubernetes version 1.32.

It works with ami_release_version = ["1.34.0-18d04e52"]

Expected Behavior

Nodegroup can be deploy with shorted version.

Steps to Reproduce

Deploy with ami_release_version = ["1.34.0"]

Screenshots

No response

Environment

  • EKS 1.32
  • Terraform 1.11
  • Module in v3.3.0

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugπŸ› An issue with the system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions