Terraform AI Skills — Multi-Cloud Module Management
AI-powered automation for managing Terraform modules at scale across AWS, GCP, Azure, and DigitalOcean. Transforms 56 hours of manual maintenance into 90 minutes.
When to Use
Activate this skill when:
- - Upgrading provider versions across 10–200+ module repositories
- Standardizing GitHub Actions workflows across an organization
- Creating semantic versioned releases with automated changelogs
- Performing bulk validation (TFLint, TFSec, Trivy, Checkov)
- Running a complete end-to-end maintenance cycle
Don't use for:
- - Single Terraform project maintenance
- Writing individual Terraform configurations
- Provider-specific API questions
Available Skills
Full Maintenance ⚡ (Recommended)
@copilot use terraform-ai-skills/config/aws.config and follow terraform-ai-skills/prompts/4-full-maintenance.prompt
Discovery → Provider upgrades → Workflow fixes → Validation → Releases
Time: 45–180 min
Provider Upgrade 🔄
@copilot use terraform-ai-skills/config/aws.config and follow terraform-ai-skills/prompts/1-provider-upgrade.prompt
Updates provider constraints, Terraform versions, examples, runs validation.
Time: 10–90 min
Workflow Standardization 🔧
@copilot use terraform-ai-skills/config/gcp.config and follow terraform-ai-skills/prompts/2-workflow-standardization.prompt
Pins GitHub Actions to SHAs, removes deprecated actions.
Time: 15–30 min
Release Creation 🚀
@copilot use terraform-ai-skills/config/azure.config and follow terraform-ai-skills/prompts/3-release-creation.prompt
Generates changelogs, semantic version tags, GitHub releases.
Time: 10–20 min
Quick Start
CODEBLOCK4
Cloud Provider Support
| Provider | Config file | Terraform | Min Provider |
|---|
| AWS | INLINECODE0 | 1.10.0+ | 5.80.0+ |
| GCP |
config/gcp.config | 1.10.0+ | 6.20.0+ |
| Azure |
config/azure.config | 1.10.0+ | 4.20.0+ |
| DigitalOcean |
config/digitalocean.config | 1.10.0+ | 2.70.0+ |
Proven Results
| Operation | Manual (170 repos) | With Skills | Savings |
|---|
| Provider upgrade | 56 hours | 90 minutes | 97% ⬇️ |
| Workflow fixes |
20 hours | 30 minutes | 97% ⬇️ |
| Full maintenance | 86 hours | 2–3 hours | 97% ⬇️ |
Requirements
- - Terraform 1.10.0+ · Git 2.30+ · Bash 4.0+
- AI assistant: GitHub Copilot CLI, Claude, ChatGPT, or Cursor
- INLINECODE4 CLI (optional — recommended for releases)
- TFLint / TFSec / Trivy / Checkov (optional — enhanced validation)
Detailed Reference Guides
For deeper guidance on specific topics:
License
MIT © 2026 Anmol Nagpal
Terraform AI 技能 — 多云模块管理
基于AI的自动化方案,用于在AWS、GCP、Azure和DigitalOcean上大规模管理Terraform模块。将56小时的手动维护工作缩短至90分钟。
使用场景
在以下情况下激活此技能:
- - 在10至200多个模块仓库中升级Provider版本
- 在组织内标准化GitHub Actions工作流
- 创建带有自动更新日志的语义化版本发布
- 执行批量验证(TFLint、TFSec、Trivy、Checkov)
- 运行完整的端到端维护周期
不适用于:
- - 单个Terraform项目维护
- 编写独立的Terraform配置
- Provider相关的API问题
可用技能
完整维护 ⚡ (推荐)
@copilot use terraform-ai-skills/config/aws.config and follow terraform-ai-skills/prompts/4-full-maintenance.prompt
发现 → Provider升级 → 工作流修复 → 验证 → 发布
耗时: 45–180分钟
Provider升级 🔄
@copilot use terraform-ai-skills/config/aws.config and follow terraform-ai-skills/prompts/1-provider-upgrade.prompt
更新Provider约束、Terraform版本、示例,运行验证。
耗时: 10–90分钟
工作流标准化 🔧
@copilot use terraform-ai-skills/config/gcp.config and follow terraform-ai-skills/prompts/2-workflow-standardization.prompt
将GitHub Actions固定到SHA值,移除已弃用的操作。
耗时: 15–30分钟
发布创建 🚀
@copilot use terraform-ai-skills/config/azure.config and follow terraform-ai-skills/prompts/3-release-creation.prompt
生成更新日志、语义化版本标签、GitHub发布。
耗时: 10–20分钟
快速开始
bash
1. 始终先在一个仓库上测试
@copilot use terraform-ai-skills/config/aws.config and upgrade provider in terraform-aws-vpc only
2. 如果成功,运行完整维护
@copilot use terraform-ai-skills/config/aws.config and follow terraform-ai-skills/prompts/4-full-maintenance.prompt
3. 验证
git status && gh run list && gh release list
云提供商支持
| 提供商 | 配置文件 | Terraform | 最低Provider版本 |
|---|
| AWS | config/aws.config | 1.10.0+ | 5.80.0+ |
| GCP |
config/gcp.config | 1.10.0+ | 6.20.0+ |
| Azure | config/azure.config | 1.10.0+ | 4.20.0+ |
| DigitalOcean | config/digitalocean.config | 1.10.0+ | 2.70.0+ |
已验证成果
| 操作 | 手动(170个仓库) | 使用技能 | 节省时间 |
|---|
| Provider升级 | 56小时 | 90分钟 | 97% ⬇️ |
| 工作流修复 |
20小时 | 30分钟 | 97% ⬇️ |
| 完整维护 | 86小时 | 2–3小时 | 97% ⬇️ |
环境要求
- - Terraform 1.10.0+ · Git 2.30+ · Bash 4.0+
- AI助手: GitHub Copilot CLI、Claude、ChatGPT或Cursor
- gh CLI (可选 — 推荐用于发布)
- TFLint / TFSec / Trivy / Checkov (可选 — 增强验证)
详细参考指南
如需更深入的特定主题指导:
许可证
MIT © 2026 Anmol Nagpal