Skip to main content
skill CX Codex

iac-data-engineering-terraform — Claude Code skill for AWS Terraform

A skill with ready Terraform patterns for data engineering: S3 buckets, EC2 instances and IAM roles. Useful when you need to stand up pipeline infrastructure declaratively.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/data-skills --skill iac-data-engineering-terraform -a claude-code
Open on GitHub

What iac-data-engineering-terraform does

The skill hands your agent a set of HCL patterns for AWS. It covers an S3 bucket with versioning and a lifecycle rule that moves objects to GLACIER after 90 days and expires them at 365. There is also an EC2 instance for data processing whose user_data installs python3, pandas, boto3 and awscli, plus a security group and an IAM role that reaches S3 through an instance profile.

The layout is split across main.tf, variables.tf and outputs.tf. Variables carry the region, environment, instance type and bucket name prefix. Commands use the -chdir=terraform flag, from init and validate through plan, apply and destroy. Targeted teardown via -target is in there too.

You need Terraform itself, the AWS CLI and working credentials: either aws configure or the AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_DEFAULT_REGION variables. The sample security group opens SSH port 22 to 0.0.0.0/0, and the code comment says to restrict that in production. Fix it before your first apply — otherwise the instance is reachable from anywhere.

What it helps with

  • stand up an S3 bucket for data storage with versioning
  • define an EC2 instance with the packages your processing needs
  • grant the instance S3 access through an IAM role instead of hardcoded keys
  • set object lifecycle rules for archiving and expiry
  • split a Terraform config into variables and outputs

Example prompts for the agent

  • create a terraform config for S3 and EC2 for a data pipeline
  • add an IAM role with bucket access and attach it to the instance
  • show me what will change before applying — run plan

How to install iac-data-engineering-terraform

1Skills CLI (Vercel)

npx skills add reason-machines/data-skills --skill iac-data-engineering-terraform -a claude-code

2Manually: put the files in place

~/.claude/skills/iac-data-engineering-terraform/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/iac-data-engineering-terraform/

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

Questions about iac-data-engineering-terraform

How do I install iac-data-engineering-terraform in Claude?

Run npx skills add reason-machines/data-skills --skill iac-data-engineering-terraform -a claude-code. The skill lands in ~/.claude/skills/iac-data-engineering-terraform/SKILL.md.

What does iac-data-engineering-terraform do?

It gives your agent Terraform templates for AWS: S3 buckets, EC2 instances, security groups and IAM roles with access policies. It also covers the init, plan, apply and destroy commands.

What do I need set up before using it?

Terraform, the AWS CLI and account credentials — either through aws configure or environment variables holding your key, secret and region.

Similar skills

Everything for DevOps and infrastructure →

From the same set22

harvard-artifacts-collection-data-engineering This skill pulls Harvard Art Museums data into MySQL and renders it in Streamlit. Useful when you want a working ETL example from API to dashboard. CX Codex +1 1,900installs harvard-artifacts-collection-etl-analytics A skill for building an ETL pipeline and analytics dashboard on Harvard Art Museums API data with Python, SQL and Streamlit. CX Codex +1 1,900installs harvard-artifacts-collection-analytics-pipeline A skill that walks your agent through a full Harvard Art Museums API pipeline: ETL, SQL storage and a Streamlit dashboard. CX Codex +1 1,900installs iac-terraform-data-engineering A skill for Claude and other AI agents that helps describe AWS data infrastructure in Terraform: S3 buckets, EC2 instances, IAM roles. CX Codex +1 1,800installs terraform-data-engineering-infrastructure A skill with Terraform patterns for data engineering: S3 data lake buckets, EC2 processing nodes, IAM roles. Useful when AWS infrastructure has to be described in code, not clicked together. CX Codex +1 1,800installs harvard-artifacts-etl-pipeline A skill that walks your coding agent through an ETL pipeline from the Harvard Art Museums API to Streamlit charts. CX Codex +1 1,700installs data-analytics-skills-claude A collection of analytics skills for checking data, investigating metrics, and shaping dashboard specs. Use it when an analysis needs a clear workflow and shareable results. CX Codex +1 1,300installs harvard-art-museum-data-engineering A skill that builds an ETL pipeline for the Harvard Art Museums API: pull artifacts, shape them into tables, load into SQL, and chart them in Streamlit. CX Codex +1 1,300installs

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