Skip to content

switch to next available instance type #3648

@martin-ilavsky

Description

@martin-ilavsky

I am using this module to create node groups for my cluster in multiple regions like paris, ohio etc. I have my configured presets that i am passing to instance_types.

Recently i wanted to extend them with new 8gen EC2 intances. So I added m8i instances where my instance types look like this.

instance_types = [ "m8i.large", "m7i-flex.large", "m7i.large", "m6i.large", "m5.large", "m5a.large", ]

During cluster apply i got the following error create: unexpected state 'CREATE_FAILED', wanted target 'ACTIVE'. last error: main-eks-node-group-20260224120237896800000006: Ec2LaunchTemplateInvalidConfiguration: The specified instance type m8i.large is not valid

I was expecting it to skip m8i when its not available in that region and try to schedule m7i-flex in regions where these intances are not yet available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions