Panfactum / stack

The Panfactum Stack
https://panfactum.com
Other
16 stars 5 forks source link

[Bug]: aws_eks cpu architecture mismatch when bootstrap_mode_enabled #155

Closed selflessly closed 1 month ago

selflessly commented 1 month ago

Prior Search

What happened?

Error when attempting to terragrunt apply the aws_eks module with bootstrap_mode_enabled set to true.

Steps to Reproduce

  1. set bootstrap_mode_enabled to true for the aws_eks module
  2. terragrunt apply

Relevant log output

Error: creating EKS Node Group (production-primary:controllers-2024100819060813030000000d): operation error EKS: CreateNodegroup, https response error StatusCode: 400, RequestID: 78131509-b7e3-42ea-9e60-8a0bf45bb7dd, InvalidRequestException: The architecture 'x86_64' of the specified instance type does not match the architecture 'arm64' of the specified AMI. Specify an instance type and an AMI that have matching architectures, and try again. You can use 'describe-instance-types' or 'describe-images' to discover the architecture of the instance type or AMI.
│ 
│   with aws_eks_node_group.controllers,
│   on main.tf line 361, in resource "aws_eks_node_group" "controllers":
│  361: resource "aws_eks_node_group" "controllers" {
uptownhr commented 1 month ago

closed by https://github.com/Panfactum/stack/pull/156