← ClaudeAtlas

create-terraform-helm-upgrade-planlisted

Create a detailed upgrade plan for a Helm release managed by Terraform, comparing the current and desired chart versions including breaking changes and required code changes.
abdullahkhawer/devops-skills · ★ 7 · DevOps & Infrastructure · score 78
Install: claude install-skill abdullahkhawer/devops-skills
# Create Terraform Helm Upgrade Plan Skill Run this skill when asked to analyse a Helm chart upgrade for a Terraform-managed Helm release, or to create an upgrade plan. ## Step 1 — Locate the Helm release in Terraform code Scan the current working directory recursively for Terraform files that define a `helm_release` resource: ```bash grep -r "helm_release" . --include="*.tf" -l ``` Read the matching files and extract: - **Helm chart name** (the `chart` argument) - **Helm repository URL** (the `repository` argument) - **Any `set` blocks** that override default values If no `helm_release` resource is found, report this and ask the user to confirm the correct directory. --- ## Step 2 — Ask for versions Ask the user: ``` 1. Current Helm chart version (the version currently deployed)? 2. Desired Helm chart version (the version you want to upgrade to)? ``` Do not attempt to infer versions from the Terraform code or any VERSION files — always ask. --- ## Step 3 — Find the chart's source repository Using the repository URL and chart name from Step 1, locate the chart's GitHub.com (or GitLab.com) source repository. Search the web if needed: ``` <chart-name> helm chart github.com site:github.com ``` Identify the correct tags for the current and desired versions (e.g. `chart-4.12.3` and `chart-4.13.1`, or just the version numbers, depending on the project's tagging convention). --- ## Step 4 — Compare chart versions Fetch the diff between the two version tags. The c