Skip to main content
skill CX Codex

terraform-infrastructure-as-code — Claude Code skill setup guide

Equips your coding agent to structure Terraform manifests, configure cloud providers, and manage remote state. Useful when spinning up infrastructure with HCL.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add manutej/luxor-claude-marketplace --skill terraform-infrastructure-as-code -a claude-code
Open on GitHub

What terraform-infrastructure-as-code does

This skill brings detailed HCL conventions directly into the agent context. It explains how to structure declarations for cloud resources, input variables, and reusable modules. Example setups include compute instances, VPC networking, and S3 storage with encryption. The guidance also covers standard CLI workflows from terraform init to terraform apply.

You need a working grasp of Git and at least one cloud platform like AWS or Azure. Remote state needs explicit backend setup. CLI familiarity is equally mandatory before applying these files. Beyond basic resource blocks, the instructions outline lifecycle rules such as prevent_destroy alongside workspace isolation.

What it helps with

  • Declare AWS infrastructure including compute instances, subnets, and security groups
  • Configure remote backend storage for Terraform state tracking
  • Define resource lifecycle rules using create_before_destroy and prevent_destroy
  • Structure arguments for terraform plan and terraform apply executions

Example prompts for the agent

  • Write an aws_vpc configuration with public and private subnets in us-west-2
  • Create an aws_s3_bucket resource with enabled versioning and AES256 encryption
  • Show me how to apply a saved plan file using terraform apply

How to install terraform-infrastructure-as-code

1Skills CLI (Vercel)

npx skills add manutej/luxor-claude-marketplace --skill terraform-infrastructure-as-code -a claude-code

2Manually: put the files in place

~/.claude/skills/terraform-infrastructure-as-code/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/terraform-infrastructure-as-code/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about terraform-infrastructure-as-code

How to install terraform-infrastructure-as-code in Claude Code?

Run npx skills add manutej/luxor-claude-marketplace --skill terraform-infrastructure-as-code -a claude-code in your terminal to install the skill for Claude Code.

What does the terraform-infrastructure-as-code skill do?

It equips coding agents with HCL guidelines, module organization patterns, and state workflows. This helps the assistant write declarative manifests for virtual machines, networks, and storage.

What prerequisites are needed to use this skill?

You need foundational knowledge of cloud infrastructure, familiarity with terminal commands, basic Git concepts, and prior experience with AWS, Azure, or GCP.

Similar skills

All skills for DevOps and infrastructure →

From the same set65

vector-database-management A skill for Pinecone, Weaviate and Chroma: indexes, embeddings, similarity search and RAG. Useful when you need semantic search in a project. CX Codex +1 459installs performance-benchmark-specialist Sets up benchmarks for shell tools: warmup runs, statistics, and target checks like <100ms and >90% cache hit rate. CX Codex +1 456installs pytest Teaches the agent to write tests for support APIs, databases, and background jobs using FastAPI and SQLAlchemy. Sets up pytest fixtures and async tests. CX Codex +1 455installs observability-monitoring This skill covers Prometheus and Grafana monitoring, from metric collection and PromQL to alerts and dashboards for distributed services. CX Codex +1 455installs PostgreSQL Database Administration A PostgreSQL administration skill: schema design, indexing, backups and query tuning. Useful when the agent writes SQL for a ticketing system or reporting. CX Codex +1 452installs langchain-orchestration A LangChain reference skill for your coding agent: chains, agents, memory, RAG and orchestration. Useful when the agent writes LangChain code and should stick to working patterns. CX Codex +1 451installs fastapi-development Instructions for building asynchronous Python APIs using FastAPI, Pydantic validation models, and structured routing. CX Codex +1 451installs aws-cloud-services This skill guides AWS application and infrastructure work across storage, compute, databases, IAM, and CloudFormation. Use it when planning cloud systems or migrations. CX Codex +1 450installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor