Skip to content
arrow-up-circle

GitHub Action

Latest EKS Version

v1 Latest version

Latest EKS Version

arrow-up-circle

Latest EKS Version

Fetches the latest AWS EKS version

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Latest EKS Version

uses: ammarlakis/action-eks-latest-version@v1

Learn more about this action in ammarlakis/action-eks-latest-version

Choose a version

EKS Latest Version Action

This action fetches the latest version of AWS EKS.

Inputs

No inputs required.

Outputs

latest

The latest version of EKS.

Example usage

name: Check EKS Updates

on:
  push:
    branches:
      - master
  schedule:
    - cron: '0 0 * * *'

env:
  CURRENT_VERSION=1.24

jobs:
  check-version:
    runs-on: ubuntu-latest
    
    steps:
    - name: Checkout repository
      uses: actions/checkout@v4

    - name: Fetch Latest EKS Version
      id: eks-version
      uses: ammarlakis/action-eks-latest-version@master

    - name: Compare EKS Version to 1.24
      run: |
        if [ "$CURRENT_VERSION" = "${{ steps.eks-version.outputs.latest }}" ]; then
          echo "EKS is Up-to-date."
        else
          echo "A new update is available for EKS."
        fi