Skip to content

Commit

Permalink
Merge pull request hashicorp#40099 from ilyesAj/feat/update_eks_node_…
Browse files Browse the repository at this point in the history
…group_al23

Update eks_node_group.html.markdown to AL2023
  • Loading branch information
justinretzolk authored Nov 14, 2024
2 parents 5f41af0 + ece0168 commit 31cee74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/r/eks_node_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ resource "aws_eks_node_group" "example" {

### Tracking the latest EKS Node Group AMI releases

You can have the node group track the latest version of the Amazon EKS optimized Amazon Linux AMI for a given EKS version by querying an Amazon provided SSM parameter. Replace `amazon-linux-2` in the parameter name below with `amazon-linux-2-gpu` to retrieve the accelerated AMI version and `amazon-linux-2-arm64` to retrieve the Arm version.
You can have the node group track the latest version of the Amazon EKS optimized Amazon Linux AMI for a given EKS version by querying an Amazon provided SSM parameter. Replace `standard` in the parameter name below with `nvidia` to retrieve the accelerated AMI version. Replace `x86_64` in the parameter name below with `arm64` to retrieve the ARM version.

```terraform
data "aws_ssm_parameter" "eks_ami_release_version" {
name = "/aws/service/eks/optimized-ami/${aws_eks_cluster.example.version}/amazon-linux-2/recommended/release_version"
name = "/aws/service/eks/optimized-ami/${aws_eks_cluster.example.version}/amazon-linux-2023/x86_64/standard/recommended/release_version"
}
resource "aws_eks_node_group" "example" {
Expand Down

0 comments on commit 31cee74

Please sign in to comment.