terraform-provider-upgrade

Update Terraform provider version constraints across modules and validate compatibility.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/wildbitca/ai-resources --skill terraform-provider-upgrade-wildbitca
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-provider-upgrade
Source: https://github.com/wildbitca/ai-resources/tree/main/skills/terraform-provider-upgrade
Command: npx skills add https://github.com/wildbitca/ai-resources --skill terraform-provider-upgrade-wildbitca

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires certifi, and includes scripts (resource) components.

What problem does it solve?

Workflow for upgrading Terraform provider versions across modules. Use when the user wants to update providers, upgrade provider versions, run terraform init and validate to confirm nothing broke, or search for latest provider versions in the Terraform Registry.

Core Features & Use Cases

  • Find and update required_providers blocks across root and child modules to latest stable versions.
  • Validate infrastructure changes by running terraform init -upgrade and terraform validate to ensure compatibility.
  • Optional: synchronize internal module references from sibling Terraform module repos to keep dependencies aligned.

Quick Start

Run the upgrade from your Terraform project root to refresh provider constraints and verify the configuration.

Frequently Asked Questions about terraform-provider-upgrade

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upgrade Terraform provider versions across multiple modules?

To upgrade Terraform provider versions across modules, this Skill updates required_providers constraints to the latest stable releases from the Terraform Registry, then runs terraform init -upgrade and terraform validate to ensure compatibility across root and child modules.

What is the best way to update required_providers blocks to the latest stable Terraform Registry versions?

Updating required_providers blocks to the latest stable Terraform Registry versions involves parsing provider blocks and updating version constraints to the format of tilde major minor, ensuring your infrastructure-as-code configuration remains current and validated.

Can I synchronize internal module references from sibling repos during a Terraform provider upgrade?

Yes, you can synchronize internal module references from sibling Terraform module repos during a provider upgrade to keep dependencies aligned, while simultaneously updating version constraints and validating the configuration.

Does this workflow run terraform init and validate to confirm provider compatibility?

Yes, this workflow runs terraform init -upgrade and terraform validate to confirm provider compatibility, ensuring that updating provider version constraints across your standard Terraform projects and module trees does not break your existing configuration.

When do I need to update Terraform provider version constraints?

You need to update Terraform provider version constraints when you want to upgrade providers to access new features, ensure infrastructure-as-code compatibility, or align dependencies across standard Terraform projects and nested module trees.

What version constraint syntax is applied when upgrading Terraform providers?

When upgrading Terraform providers, the version constraint syntax applied is tilde major minor, allowing your required_providers blocks to automatically receive stable patch updates within the chosen major and minor version range.