From terraform-toolkit
Guides Terraform version upgrades: identifies deprecated syntax, updates providers, migrates breaking changes. Includes checklists, bash commands, and troubleshooting for safe upgrades.
How this skill is triggered — by the user, by Claude, or both
Slash command
/terraform-toolkit:terraform-upgrade-assistantThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill helps safely upgrade Terraform and provider versions.
This skill helps safely upgrade Terraform and provider versions.
Use this skill when:
# Check Terraform version
terraform version
# Check provider versions in use
terraform providers
# Check for available updates
terraform init -upgrade
Before upgrading, review:
Incremental approach (recommended):
Example path: 1.0 → 1.1 → 1.2 → 1.3 → 1.4 → 1.5
# Before
terraform {
required_version = ">= 1.0"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.0"
}
}
}
# After
terraform {
required_version = ">= 1.5"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
}
}
# Run plan to see warnings
terraform plan
# Example output:
# Warning: Argument is deprecated
# Use aws_s3_bucket_acl resource instead
terraform init -upgradeterraform plan and review changesterraform plan (should show no changes)# If state file is incompatible with provider source
terraform state replace-provider \
registry.terraform.io/-/aws \
registry.terraform.io/hashicorp/aws
# Clear provider cache and reinitialize
rm -rf .terraform/
rm .terraform.lock.hcl
terraform init -upgrade
# Good - Allows patch updates, prevents breaking changes
terraform {
required_version = "~> 1.5.0" # 1.5.x only
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0" # 5.x only
}
}
}
# Too restrictive
required_version = "= 1.5.0" # Only exact version
# Too permissive
required_version = ">= 1.0" # Could break on major updates
npx claudepluginhub p/armanzeroeight-terraform-toolkit-plugins-terraform-toolkitAnalyzes Terraform provider and module upgrades for breaking changes, deprecations, and migration requirements. Guides through changelog review, code scanning, and impact assessment.
Provides current Terraform/OpenTofu compatibility guidance covering HCL, state, modules, providers, testing, stacks, and CLI changes across versions 1.7–1.15 and 1.7–1.12 respectively.