/iac-guidelines:iac-upgrade-versionsfrom iac-guidelines
Normalizes and upgrades Terraform, Terragrunt, and provider version constraints across a repository following IaC Guild rules. Handles inventory, compatibility checks, and validation.
Ships in iac-guidelines. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read terraform/terraform_versioning.md first; it is the rule source. Scope: the path the user names, otherwise the repository. Out of scope: functional refactors, renames, behaviour changes.
Ask the user for the target versions (Terraform, Terragrunt, each provider), or propose the latest stable ones from the provider registry / releases and get confirmation before editing.
apply in, including bootstrap): exact versions for Terraform and providers (= x.y.z), .terraform.lock.hcl committed. For Terragrunt, keep the pattern already used in root.hcl.~>); declare required_providers only for providers the module actually uses; never a provider configuration block.required_version, required_providers, terragrunt_version_constraint, terraform_version_constraint, module version / ?ref=; list where each constraint lives and which deviate from the rules.versions.tf / version.tf; add the file if a module lacks it), and examples, with the agreed versions. Keep diffs minimal, no reformatting of unrelated code.resource "<provider>_…"), check each exists in that version's documentation, sample-check frequently used schemas for breaking changes (attribute types, renamed or deprecated attributes, required blocks, enum values). Apply trivial, unambiguous fixes inline; describe non-trivial migrations (with doc links) and leave that code unchanged.terraform fmt, terragrunt hclfmt, tflint, checkov where configured; terraform init -upgrade + terraform validate in representative layers and modules; refresh and commit lock files for layers. Never run apply.Constraints changed (before → after, per file), fixes applied, migrations left for humans, validation results, and README snippets that still mention old versions (update them if the user agrees). For structural follow-ups, prefer tfautomv moved blocks before changing configuration.
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/iac-architecture-diagramGenerate a Mermaid flowchart of the target architecture (layers, networks with CIDR ranges, services, dependencies, security boundaries) from a Terragrunt / Terraform folder, with an architecture write-up. Use when asked for an architecture diagram of an IaC project./iac-auditRead-only audit of a Terraform / Terragrunt codebase against the Theodo Cloud IaC Guild guidelines, with a maturity level and risk-ranked findings. Use when asked to audit, assess or review the overall quality of an IaC repository or folder./iac-c4-diagramsGenerate C4 Context (level 1) and Container (level 2) Mermaid diagrams from a Terragrunt / Terraform folder. Use when asked for C4 diagrams or architecture documentation of an IaC project./iac-guidelinesTheodo Cloud IaC Guild guidelines for Terraform and Terragrunt. Use when writing, modifying or reviewing .tf / .hcl files, designing layers or modules, or answering questions about IaC naming, versioning, structure, secrets and refactoring.npx claudepluginhub padok-team/docs-terraform-guidelines --plugin iac-guidelinesOther plugins' skills for the same job