terraform-ops

Installation
SKILL.md

Terraform Operations

Terraform / OpenTofu infrastructure-as-code: layout, state, modules, safety, CI/CD, secrets.

Version context (verified 2026-06): Terraform 1.15.x (BUSL-1.1 licence since 1.6) · OpenTofu 1.12.x (MPL-2.0 fork of Terraform 1.5.x). Commands below are interchangeable (terraformtofu) unless flagged. See Terraform vs OpenTofu for the decision note.

Reference Files

File Covers
references/state-management.md Remote backends, locking, moved/import/removed blocks, state surgery, drift detection
references/module-patterns.md Module composition, variable validation, optional/nullable, output contracts, versioning
references/cicd-pipelines.md GitHub Actions plan/apply, OIDC auth, policy gates (tflint/trivy/checkov/OPA), Atlantis/HCP
references/security-and-secrets.md Secrets in state, ephemeral resources, write-only arguments, SOPS/Vault, sensitive limits
assets/github-actions-terraform.yml Ready-to-adapt PR-plan + OIDC-apply workflow
scripts/check-action-refs.sh Staleness verifier for any workflow's uses: action refs (offline structural / live API resolve)

The action versions pinned in github-actions-terraform.yml are point-in-time (verified 2026-06). Run scripts/check-action-refs.sh --live before adopting — a tag that was valid at write time may have been retracted or never existed (e.g. trivy-action@0.33.1 vs the real v0.33.1).

Installs
8
GitHub Stars
24
First Seen
Jun 11, 2026
terraform-ops — 0xdarkmatter/claude-mods