# Terraform Skill

> Terraform/OpenTofu authoring, testing, and security workflow. Use when this capability is needed.

- Skill: `tomevault-io/terraform-skill-9` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/terraform-skill-9`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/terraform-skill-9/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/terraform-skill-9

---


# Terraform Skill

## Purpose

Guide safe infrastructure-as-code changes using Terraform/OpenTofu best practices.

## Inputs

- IaC module or environment target
- provider and backend configuration
- policy/security constraints

## Process

1. Read current module patterns and state implications.
2. Implement minimal, reviewable IaC changes.
3. Run `fmt`, `validate`, and plan checks.
4. Add or update tests (native tests or Terratest when needed).
5. Report security and drift considerations.

## Output Format

- changed modules/resources
- validation and plan summary
- risk notes and rollout guidance

## Quality Checks

- [ ] `fmt` and `validate` performed
- [ ] Plan output reviewed for unintended changes
- [ ] Sensitive values are not exposed in code or logs

---
> Source: [dtsong/my-opencode-codex-setup](https://github.com/dtsong/my-opencode-codex-setup) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-16 -->

