terraform is agent-read markdown (skill) from jnpiyush/agentx: Provision cloud infrastructure safely and consistently using Terraform and Infrastructure as Code patterns. Use when writing .tf or .tfvars files, creating reusable modules, managing remote state, securing infrastructure, or running Terratest integration tests..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Terraform / Infrastructure as Code
> **Purpose**: Best practices for provisioning cloud resources with Terraform, covering code style, file layout, naming, state management, modules, security, and testing.
---
## When to Use This Skill
- Writing or editing `.tf` or `.tfvars` files
- Creating reusable Terraform modules
- Managing remote state backends
- Securing infrastructure definitions
- Running Terratest or `terraform validate` / `terraform plan`
---
## Decision Tree
```
Terraform Decision
+-- New infrastructure project?
| +-- Azure only? -> Consider Bicep as alternative
| +-- Multi-cloud or AWS/GCP? -> Use Terraform
| +-- Existing Terraform codebase? -> Use Terraform
+-- Structuring code?
| +-- Single environment? -> One root module with terraform.tfvars
| +-- Multiple environments? -> Workspaces or separate root dirs per env
| +-- Shared patterns? -> Extract reusable modules/ with versioning
+-- Managing state?
| +-- Team project? -> Remote backend with locking (S3/Azure Storage/GCS)
| +-- Solo developer? -> Remote backend still recommended
| +-- Never -> Local .tfstate in production
+-- Validating changes?
| +-- Syntax? -> terraform validate
…
Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
GET https://markdownregistry.com/api/v1/artifacts/art_yxavghomxim34z3d
GET https://markdownregistry.com/api/v1/resolve?ref=jnpiyush/agentx/terraform
GET https://markdownregistry.com/api/v1/blob/16bd2b556d2f0ea0451c7043d9d6e9794c2b58c25fab59cb936caaed9784afa6
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
jnpiyush/agentx · .github/skills/ai-systems/agent-observability/SKILL.md · Instrument LLM agents with tracing, metrics, and evaluation telemetry. Use when adding OpenTelemetry GenAI semantic…
jnpiyush/agentx · .github/skills/ai-systems/ai-agent-development/SKILL.md · Build production-ready AI agents with Microsoft Foundry and Agent Framework. Use when creating AI agents, selecting LLM…
jnpiyush/agentx · .github/skills/ai-systems/ai-evaluation/SKILL.md · Use when evaluating AI quality, safety, completeness and cost with held-out tasks, executable graders, calibrated…
jnpiyush/agentx · .github/skills/ai-systems/ai-safety-and-red-teaming/SKILL.md · Defend LLM systems against prompt injection, jailbreaks, data exfiltration, and unsafe output. Covers input/output…
magnus919/agent-skills · terraform/SKILL.md · Operate Terraform and OpenTofu across the whole infrastructure lifecycle: module structure, state backends and locking…
iliaal/ai-skills · skills/terraform/SKILL.md · Terraform and OpenTofu configuration, modules, testing, state management, and HCL review. Use when working with…
iliaal/whetstone · distillery/generated-skills/terraform/SKILL.md · Terraform and OpenTofu configuration, modules, testing, state management, and HCL review. Use for "terraform module"…
bendrucker/claude · plugins/terraform/skills/terraform/SKILL.md · Terraform Cloud workspace management, run monitoring, and log retrieval. Use when listing workspaces, checking run…
lukaskellerstein/claude-my-marketplace · plugins/infra-plugin/skills/terraform/SKILL.md · Terraform infrastructure-as-code for provisioning cloud and Kubernetes resources: modules, state and backends…