canonical / canonical/observability-stack

COS AWS: old AMI type

Open
#225 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HCL
Stars
9
Forks
12
Avg merge
2d 40m
Merged PRs (30d)
3

Description

When applying the aws infra terraform module, it fails with
```
│ Error: creating EKS Node Group (cos-cluster:cos-workers): operation error EKS: CreateNodegroup, https response error StatusCode: 400, RequestID: 9e50d975-8937-4c60-a4b1-03352d65c3e3, InvalidParameterException: AMI Type AL2_x86_64 is only supported for kubernetes versions 1.32 or earlier

│ with aws_eks_node_group.cos_workers,
│ on main.tf line 246, in resource "aws_eks_node_group" "cos_workers":
│ 246: resource "aws_eks_node_group" "cos_workers" {


error: Recipe `apply_infra` failed on line 12 with exit code 1
```

We need to:
1- use a newer image
2- probably we'd want that to be an input with a default value

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at main.tf line 246, where the aws_eks_node_group.cos_workers resource defines the AMI type, and inspect the Terraform module inputs and defaults. Run apply_infra to reproduce the failure; done means the module uses a newer compatible image and exposes that choice as an input with a default.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, kubernetes, terraform
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.