formae-fix-code-drift

Detect and resolve infrastructure drift between cloud resources and IaC definitions.

5|1|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/platform-engineering-labs/formae-mcp --skill formae-fix-code-drift
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: formae-fix-code-drift
Source: https://github.com/platform-engineering-labs/formae-mcp/tree/main/skills/formae-fix-code-drift
Command: npx skills add https://github.com/platform-engineering-labs/formae-mcp --skill formae-fix-code-drift

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the common issue of "infrastructure drift," where the actual deployed cloud resources diverge from the state defined in your Infrastructure-as-Code (IaC) files, preventing unexpected changes and ensuring your code accurately reflects your infrastructure.

Core Features & Use Cases

  • Drift Detection: Identifies resources that have been modified outside of your IaC tooling.
  • Drift Resolution: Provides options to either "absorb" out-of-band changes into your IaC codebase or "overwrite" them by reapplying the desired state from your code.
  • Use Case: After a team member manually adjusts a security group rule in the cloud console, this Skill can detect the change, allow you to review it, and then either update your Terraform/Pulumi code to match the new rule or revert the change in the cloud.

Quick Start

Use the formae-fix-code-drift skill to check for any infrastructure drift across all your stacks.

Frequently Asked Questions about formae-fix-code-drift

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

FAQPage Schema
How do I detect infrastructure drift between deployed cloud resources and IaC definitions?

To detect infrastructure drift, you compare deployed cloud resources against Infrastructure-as-Code definitions to identify out-of-band changes. This Skill scans your stacks to find resources modified outside your IaC tooling.

What is the best way to resolve Terraform or Pulumi drift caused by manual console changes?

Resolve Terraform or Pulumi drift by either absorbing manual console changes into your IaC codebase or overwriting them by reapplying the desired state. This Skill provides options to reconcile the modified resources.

Does infrastructure drift resolution work with both Terraform and Pulumi?

Yes, infrastructure drift resolution works with both Terraform and Pulumi. The Skill detects out-of-band changes across your IaC definitions and allows you to reconcile resources by absorbing or overwriting them.

Do I need a specific CLI to synchronize infrastructure code and reality?

Yes, you need the formae CLI to synchronize infrastructure code and reality. The CLI is required for applying detected drift changes and simulating resource reconciliations across your stacks.

When should I absorb out-of-band changes versus overwriting them with the desired state?

Absorb out-of-band changes when the manual modification is intentional and should update your IaC codebase. Overwrite them with the desired state when the manual change is unauthorized and needs to be reverted.