Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[terraform-aws-sponsorship] updatecli manifest for ami_release_version used by eks_managed_node_groups #4480

Open
jayfranco999 opened this issue Jan 7, 2025 · 1 comment

Comments

@jayfranco999
Copy link
Collaborator

jayfranco999 commented Jan 7, 2025

Summary

As per https://github.com/jenkins-infra/terraform-aws-sponsorship/blob/47a0758f6f414fa12a2e8be54bd66e921f8a942a/eks-cijenkinsio-agents-2.tf#L127

We need to track the ami_release_version used by eks_managed_node_groups

@jayfranco999 jayfranco999 added the triage Incoming issues that need review label Jan 7, 2025
@dduportal dduportal added this to the infra-team-sync-2025-01-14 milestone Jan 7, 2025
@dduportal dduportal removed the triage Incoming issues that need review label Jan 7, 2025
@jayfranco999
Copy link
Collaborator Author

jayfranco999 commented Jan 17, 2025

We use the following command to retrieve ami version information for the ami id used by the eks_managed_node_groups


aws ssm get-parameters-by-path \
    --path "/aws/service/eks/optimized-ami/1.29/" \
    --recursive \
    --query "Parameters[?contains(Name, 'amazon-linux-2023/arm64/standard/recommended')].Value" \
    --profile terraform-admin \
    --region us-east-2 \
    --output text | jq -r '. | {image_id, image_name, release_version}'

outputs :-

{
  "image_id": "ami-09843a596173d3e46",
  "image_name": "amazon-eks-node-al2023-arm64-standard-1.29-v20250103",
  "release_version": "1.29.10-20250103"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants