Creation of a yaml validator github workflow

New Feature: YAML Validator for EKS Cluster Configurations

We’ve introduced a new YAML validation tool integrated into our GitHub workflows! This validator automatically checks all YAML configuration files (especially EKS cluster definitions) to prevent configuration drift and syntax errors before deployment.

What it does

  • Validates YAML syntax to catch malformed or mis-indented files.
  • Ensures mandatory fields are present and correctly formatted.
  • Detects unexpected keys or missing values in EKS configuration files.
  • Runs automatically as part of our CI/CD workflows on every pull request.

Why it matters

By catching configuration errors early, this tool helps maintain consistency across environments, reduces human error, and ensures that EKS clusters are always deployed with valid configurations.

How it works

  • The validator runs a custom Python script that parses each YAML file.
  • If an error is found, the workflow fails and provides a detailed log message with line numbers and context.
  • All validations are performed during pull requests, keeping your main branch safe and clean.

Benefits

  • Prevents YAML syntax issues before they hit production.
  • Enforces configuration best practices automatically.
  • Reduces drift between staging and production environments.