devops-terraform-agent

devops-terraform-agent is an agent for coding agents from ranveersequeira/ai-agent-workflow. It costs 0 tokens per session (649 once invoked), scanned A, original, MIT.

An infrastructure assistant for Terraform. Terraform is a tool that describes cloud resources, such as servers and databases, in files that can be reviewed and applied repeatedly.

In plain words
What is it for?
It helps organize Terraform files, define AWS, Google Cloud, or Azure resources, create reusable modules, manage remote state, and separate development, staging, and production environments.
Why use it?
It helps keep cloud setup consistent across development, testing, and production. Reusable modules and separate state storage reduce duplicated configuration and confusion about each environment.

Agent

Install

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.

agentmods
npx agentmods add agents/ranveersequeira/ai-agent-workflow/devops-terraform-agent
Clone the repo
git clone --depth 1 https://github.com/ranveersequeira/ai-agent-workflow

Wrote 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.

agentmods badge for devops-terraform-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/ranveersequeira/ai-agent-workflow/devops-terraform-agent.svg)](https://agentmods.dev/agents/ranveersequeira/ai-agent-workflow/devops-terraform-agent)
Your own site
<a href="https://agentmods.dev/agents/ranveersequeira/ai-agent-workflow/devops-terraform-agent"><img src="https://agentmods.dev/badge/agents/ranveersequeira/ai-agent-workflow/devops-terraform-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 649 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00649
Opus 5 $0.00000 $0.00324
Sonnet 5 $0.00000 $0.00130
Haiku 4.5 $0.00000 $0.00065

Measured 3d ago against content hash 9beac77fc046, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

devops-terraform-agent 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 3d ago.

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.

agents/devops-terraform-agent.md · 145 lines

How it starts

The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GLOBAL AGENT: DevOps Terraform Agent

You are a senior DevOps/Infrastructure engineer specializing in Terraform.


Scope

  • Terraform configurations
  • Infrastructure as Code
  • Cloud resources (AWS/GCP/Azure)
  • Module design
  • State management

Terraform Rules (STRICT)

  • Use modules for reusability
  • Consistent naming conventions
  • Proper variable/output definitions
  • Remote state storage
  • Workspace separation for environments

Project Structure

infrastructure/
├── main.tf
├── variables.tf
├── outputs.tf
├── providers.tf
├── modules/
│   ├── vpc/
│   ├── ecs/
│   └── rds/
└── environments/
    ├── dev/
    ├── staging/
    └── prod/

Resource Naming

resource "aws_instance" "web_server" {
  # Good: descriptive, snake_case
}

resource "aws_instance" "i1" {
  # Bad: not descriptive
}

Module Design

module "vpc" {
  source = "./modules/vpc"
  
  environment = var.environment
  cidr_block  = var.vpc_cidr
  
  tags = local.common_tags
}

Implementation Approach

  1. Read implementation_plan.md for context
  2. Implement ONE step at a time
  3. Show code changes clearly
  4. STOP at checkpoint - wait for user

Checkpoint (MANDATORY)

After completing implementation, you MUST output:

---
✅ DevOps Terraform Agent - Complete

**What was done:**
- Created/modified [list files]
- Implemented [resource/module name]
- [Modules/resources created]

**Files changed:**
- `infrastructure/modules/vpc/main.tf` (new)
- `infrastructure/main.tf` (modified)
- `infrastructure/variables.tf` (modified)

**Resources to be created:**
- `aws_vpc.main`
- `aws_subnet.public[*]`
- `aws_internet_gateway.main`

**Commands to run:**
```bash
terraform init
terraform plan
terraform apply

Next step: Review Agent

  • Will review infrastructure design and security

Options:

  • Say "continue" or "next" → proceed to review
  • Say "plan" → run terraform plan first
  • Say "redo" or give feedback → revise configuration
  • Say "stop" → pause workflow

Read the full file on GitHub · 145 lines

Changes

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.

  1. 3d ago First seen · 145 lines · 0 tokens per session scan A 9beac77fc046

Subscribe to this mod's changes

devops-terraform-agent is an agent published in the GitHub repository ranveersequeira/ai-agent-workflow (2 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 649 tokens. 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-31.

Related

Other agents, from other repositories

gcp

Fully autonomous pentest sub agent using MCP-backed fastcmp toolbox for a Google Cloud Platform environment (IAM/service-accounts/impersonation/GCS/GCE/Functions/Run/GKE/SecretManager/BigQuery/CloudSQL/metadata).

ASCIT31/Dark-Moon · 52 tokens

deploy-ops

Railway deployment and operations agent — Railway service deploys, health checks, log tailing, infrastructure troubleshooting. Use for deployment and ops tasks.

0xSoftBoi/suwappubot · 33 tokens

deployment-expert

Specializes in Vercel deployment strategies, CI/CD pipelines, preview URLs, production promotions, rollbacks, environment variables, and domain configuration. Use when troubleshooting deployments, setting up CI/CD, or optimizing the deploy pipeline.

build-with-dhiraj/ai-workflow-framework-portability-kit · 49 tokens

aws-platform-agent.ja

Agent "aws-platform-agent.ja" from amadeus-dlc/amadeus, covering aws platform agent, リードするステージ, サポートするステージ, 期待できること and 協働の仕方.

amadeus-dlc/amadeus · 0 tokens

timps_cost_optimizer

Estimate monthly/annual cloud cost for an architecture and generate a prioritised list of savings optimisations. Use the timpscostoptimizer MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 51 tokens

sre-investigator

Investigates infrastructure issues by gathering system metrics, logs, and configuration to identify root causes and recommend remediations.

danielbodnar/skills · 27 tokens