Terraform Drift Detector / 基础设施漂移检测器

Compare real cloud resources against Terraform state and report unauthorized changes. / 对比实际云资源与Terraform状态,报告未授权的变更。

Install

openclaw skills install @kingaiwork/terraform-drift-detector

🔍 Terraform Drift Detector / 基础设施漂移检测器

Compare real cloud resources against Terraform state and report unauthorized changes. / 对比实际云资源与Terraform状态,报告未授权的变更。

🦁 由 KingAI.Work 出品 — 智能进化|vip@kingai.work


Quick Start / 快速开始

bash
bash terraform-drift-detector scan --provider aws --region us-east-1 Scans all Terraform-managed resources in us-east-1 against live cloud state and lists any drift found with details. / 扫描us-east-1区域所有Terraform管理资源,与实际云状态对比并列出漂移详情。 

Features / 功能

• Scans real cloud resources against Terraform state files in minutes / 数分钟内扫描实际云资源与Terraform状态文件,快速锁定不一致资源 • Detects unauthorized manual changes, missing resources, and config drift / 自动识别未授权的手动变更、缺失资源及配置偏移,保障基础设施一致性 • Supports AWS, Azure, and GCP with multi-account cross-region scanning / 支持AWS、Azure、GCP多云平台,跨账户跨区域扫描无死角 • Generates actionable drift reports with diff output and rollback suggestions / 生成可操作的漂移报告,包含差异对比和回滚建议,降低修复成本 • Pro: Automated remediation plans that apply fixes directly to Terraform state / 专业版:自动修复方案,直接更新Terraform状态,一键消除偏差 • Pro: Scheduled drift detection with Slack/Teams alerts for continuous compliance / 专业版:定时漂移检测并发送Slack/Teams告警,确保持续合规

Common Use Cases / 常见场景

• A DevOps engineer finds an EC2 instance was manually resized by a teammate, breaking autoscaling rules / 运维工程师发现团队成员手动修改了EC2实例规格,导致自动扩缩容规则失效;使用检测器秒级定位漂移并生成修复计划 • A security team suspects unauthorized firewall rule changes in production / 安全团队怀疑生产环境防火墙规则被篡改;工具扫描所有安全组,识别与Terraform不一致的规则并报告风险 • A cloud architect needs to prove Terraform state accuracy before a major migration / 云架构师需要在大规模迁移前确认Terraform状态准确性;全量扫描后快速生成合规报告,消除迁移风险

Compare / 对比

FreePro
Basic
Advanced
AI
SupportCommunityPriority

• Pro unlocks automated drift remediation reducing manual fix time by 80% / 专业版开启自动修复功能,将手动修复时间缩短80% • Get real-time drift alerts integrated with your team's chat tools (Slack/Teams) / 实时漂移告警与团队聊天工具集成,第一时间响应异常变更 • Advanced multi-environment drift dashboards for enterprise compliance auditing / 多环境漂移高级仪表盘,满足企业级合规审计需求\n\n

About the Publisher

Published by King AI — kingai.work | vip@kingai.work