terraform-iac-review

Audit Infrastructure as Code repositories for risks before changes.

1|Updated Jul 17, 2026
One-click install
npx skills add https://github.com/Arafly/sre-playbooks --skill terraform-iac-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-iac-review
Source: https://github.com/Arafly/sre-playbooks/tree/main/terraform-iac-review
Command: npx skills add https://github.com/Arafly/sre-playbooks --skill terraform-iac-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you understand and safely modify unfamiliar Infrastructure as Code before a risky apply breaks production, weakens security, or destroys managed resources.

Core Features & Use Cases

  • Estate Mapping: Identify providers, modules, environments, backend/state setup, and what the code is intended to manage.
  • Risk and Blast-Radius Review: Surface high-impact resources such as IAM, networking, databases, DNS, secrets, and production compute.
  • Drift and Safety Checks: Look for hardcoded secrets, missing encryption, open access, unclear ownership, state drift, and unsafe defaults.
  • Use Case: A platform engineer inherits a Terraform repo and needs a defensible assessment before making changes or approving an apply.

Quick Start

Ask the skill to summarize the Terraform estate, state model, module structure, and the highest-risk changes you should review before applying anything.

Frequently Asked Questions about terraform-iac-review

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

FAQPage Schema
How do I review Terraform code for high-risk resources before applying changes?

To review Terraform code safely, audit the infrastructure to surface high-impact resources like IAM, networking, databases, DNS, and production compute before applying any risky changes.

What is infrastructure blast radius in IaC and how do I check it?

Infrastructure blast radius in IaC identifies the scope of high-impact resources affected by a change. You check it by mapping providers, modules, and state to assess potential damage before an apply.

How do I detect state drift and hardcoded secrets in a Terraform repository?

Detect state drift and hardcoded secrets in a Terraform repository by running safety checks that look for unclear ownership, missing encryption, open access, unsafe defaults, and state drift.

Can I audit OpenTofu, CloudFormation, and Pulumi repositories for safe modification?

Yes, you can audit OpenTofu, CloudFormation, Pulumi, and CDK repositories. The review process applies to any IaC managing production or shared infrastructure to ensure safe modification.

What is the best way to map an unfamiliar inherited Terraform estate?

The best way to map an unfamiliar Terraform estate is to identify the providers, modules, environments, and backend state setup to understand what the code is intended to manage.