version-upgrades

Automate Terraform CLI, provider, module, and policy version upgrades in HCP Terraform workspaces.

4|3|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/thrashr888/hcptf-cli --skill version-upgrades
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: version-upgrades
Source: https://github.com/thrashr888/hcptf-cli/tree/main/.skills/version-upgrades
Command: npx skills add https://github.com/thrashr888/hcptf-cli --skill version-upgrades

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of updating outdated Terraform, provider, module, and policy versions within your HCP Terraform workspaces, ensuring you benefit from the latest security patches, features, and performance improvements.

Core Features & Use Cases

  • Version Auditing: Identify outdated Terraform CLI, provider, module, and policy versions across your organization.
  • Automated Upgrades: Facilitates updating Terraform CLI versions directly via workspace settings.
  • Code-Based Upgrades: Guides you through updating provider, module, and policy versions by modifying your Terraform code, committing changes, and triggering new runs.
  • Use Case: You need to upgrade the AWS provider in your production workspace from v5 to v6 to leverage new features and security enhancements. This skill helps you identify the current version, locate the relevant code, update the version constraint, commit the changes, and monitor the subsequent Terraform run.

Quick Start

Use the version-upgrades skill to upgrade the Terraform version in the 'my-org' organization's 'staging' workspace to the latest available version.

Frequently Asked Questions about version-upgrades

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

FAQPage Schema
How do I upgrade the Terraform CLI version in an HCP Terraform workspace?

You can upgrade the Terraform CLI version by updating workspace settings directly. This skill automates identifying outdated versions and applying the latest Terraform CLI updates across your HCP Terraform workspaces.

How do I update outdated provider and module versions in Terraform code?

You update provider and module versions by modifying the version constraints in your Terraform code, committing changes, and triggering a new run. This skill guides you through locating relevant code, updating constraints, and monitoring the run.

Can I audit outdated Terraform provider and module versions across my organization?

Yes, you can audit outdated Terraform CLI, provider, module, and policy versions across your organization. This skill scans HCP Terraform workspaces to identify which dependencies require security patches or feature updates.

Do I need the hcptf CLI and Git to automate Terraform version upgrades?

Yes, you need the hcptf CLI and Git to automate Terraform version upgrades. The hcptf CLI interacts with HCP Terraform workspaces, while Git manages code modifications for provider, module, and policy version control integration.

How do I upgrade a Terraform policy version using code-based modifications?

You upgrade a Terraform policy version by modifying the policy code, committing changes via Git, and triggering a new run. This skill facilitates code-based upgrades for external dependencies including policies within HCP Terraform.