Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add sawrus/agent-guides --skill terraform-modulesgit clone --depth 1 https://github.com/sawrus/agent-guidesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sawrus/agent-guides/terraform-modules)<a href="https://agentmods.dev/skills/sawrus/agent-guides/terraform-modules"><img src="https://agentmods.dev/badge/skills/sawrus/agent-guides/terraform-modules/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sawrus/agent-guides/terraform-modules"><img src="https://agentmods.dev/badge/skills/sawrus/agent-guides/terraform-modules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.00678 |
| Opus 5.5 | $0.00022 | $0.00271 |
| Sonnet 5.5 | $0.00011 | $0.00136 |
| Haiku 4.5 | $0.00006 | $0.00068 |
Grade A, and why
terraform-modules scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Terraform module: change safely
1. Read the module and its callers
- Open
variables.tf,outputs.tf,versions.tf, andmain.tfof the module. - Find every caller:
grep -rn 'source *= *".*<module-name>' --include=*.tf . - If the module is published with a version (registry or git tag), check which versions the callers pin.
2. Change the interface
- Give every new variable a
type, adescription, and avalidationblock when the value has a fixed form. - Give a new variable a
defaultonly if every caller can use it. A variable without a default is a breaking change for callers. - Mark secrets
sensitive = truein variables and outputs. - Do not rename or delete a variable or an output that a caller uses. Add the new one, keep the old one with a
deprecation note in its
description, and remove it in a later major version. - Pin providers in
versions.tfwithrequired_providersand a~>constraint, and setrequired_version.
3. Rename or move resources without destroy
A changed resource address makes Terraform destroy and recreate the resource. Add a moved block instead:
moved {
from = aws_s3_bucket.this
to = aws_s3_bucket.logs
}
- Moving a resource into a child module:
from = aws_s3_bucket.logs,to = module.logs.aws_s3_bucket.this. - Moving between state files needs
terraform state mvorremoved+importblocks. Ask the user first; it writes state.
4. Check
terraform fmt -recursive -check
terraform init -backend=false && terraform validate
tflint --recursive
terraform test # if the module has tests/*.tftest.hcl
- Add or update a
tests/<name>.tftest.hclwithcommand = planfor each new input combination. - Run
terraform planin one caller environment. The plan must show nodestroyorforces replacementline that the task did not ask for. Look for# forces replacementin the output. - If the plan replaces a stateful resource (database, bucket, volume), stop and tell the user.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · -109 lines · +33 tokens per session 6cf20c8293d8
- 1mo ago First seen · 170 lines · 22 tokens per session scan A 3a80903dc737
terraform-modules is a skill published in the GitHub repository sawrus/agent-guides (19 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 678 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
shipping-and-launch
Prepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.
apify-actor-development
Create, modify and validate Apify Actors with scoped inputs, storage schemas, runtime logic and deployment review.
aws-serverless-eda
AWS serverless and event-driven architecture expert based on Well-Architected Framework. Use when building serverless APIs, Lambda functions, REST APIs, microservices, or async workflows.
ai-inference-service-mesh
Use verified service mesh patterns for AI inference traffic management, mTLS, canary releases, policy enforcement, and cross-cluster resilience.
ai-pipeline-orchestration
Orchestrate AI/ML pipelines for data ingestion, model training, batch inference, and RAG indexing using Prefect, Airflow, or Dagster.
ai-sre-incident-response
Build AI-focused SRE incident response practices for LLM outages, degraded quality, runaway cost events, and safety regressions.