Skip to content

Commit

Permalink
Use kubernetes version parameter for AMI lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
niallthomson committed Dec 22, 2023
1 parent 96e35f3 commit 91a29fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Upgrading the node group will take at least 10 minutes, only execute this sectio
The EKS cluster that has been provisioned for you intentionally has managed node groups that are not running the latest AMI. You can see what the latest AMI version is by querying SSM:

```bash
$ aws ssm get-parameter --name /aws/service/eks/optimized-ami/1.27/amazon-linux-2/recommended/image_id --region $AWS_REGION --query "Parameter.Value" --output text
$ aws ssm get-parameter --name /aws/service/eks/optimized-ami/VAR::KUBERNETES_VERSION/amazon-linux-2/recommended/image_id --region $AWS_REGION --query "Parameter.Value" --output text
ami-0fcd72f3118e0dd88
```

Expand Down

0 comments on commit 91a29fc

Please sign in to comment.