# infrastructure-cicd-data-engineering

This skill guides Terraform delivery for data infrastructure through GitHub Actions and AWS OIDC. Use it when infrastructure changes need checks, approvals, and automated deployment.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1600 installs · ★ 5
- Author: reason-machines
- License: LicenseRef-Unknown · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/data-skills/tree/HEAD/skills/infrastructure-cicd-data-engineering/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/infrastructure-cicd-data-engineering

## What it does

The skill lays out a GitHub Actions workflow for Terraform-based data infrastructure. Pull requests run formatting and validation checks; deployment workflows can plan and apply changes, with a manual gate before production.

Its bootstrap setup provisions an S3 Terraform state backend, a DynamoDB lock table, a GitHub Actions OIDC provider, and an IAM role. The setup expects an AWS account with suitable permissions, Terraform v1.0+, repository access, and AWS CLI credentials. Bootstrap cannot run until the AWS CLI is configured.

## Requirements
- Works with: AWS, Terraform

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/data-skills --skill infrastructure-cicd-data-engineering -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/infrastructure-cicd-data-engineering/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/infrastructure-cicd-data-engineering/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/data-skills --skill infrastructure-cicd-data-engineering -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/infrastructure-cicd-data-engineering/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/data-skills --skill infrastructure-cicd-data-engineering -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/infrastructure-cicd-data-engineering/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/data-skills infrastructure-cicd-data-engineering
```

2. **Manually: put the files in place**
- File: `.github/skills/infrastructure-cicd-data-engineering/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/data-skills --skill infrastructure-cicd-data-engineering -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/data-skills --path skills/infrastructure-cicd-data-engineering
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/infrastructure-cicd-data-engineering/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/data-skills --skill infrastructure-cicd-data-engineering -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/data-skills/tree/HEAD/skills/infrastructure-cicd-data-engineering/SKILL.md

## When to use it
- set up CI/CD for data infrastructure
- validate Terraform changes in pull requests
- deploy Terraform through GitHub Actions
- use AWS OIDC instead of long-lived keys
- require approval before production deployment

## Example prompts
- Set up a GitHub Actions pipeline for Terraform data infrastructure with AWS OIDC.
- Create the bootstrap resources for Terraform state, locking, and the GitHub Actions IAM role.
- Add pull request formatting and validation checks, then require approval before production changes are applied.

## Similar
- [devops-cicd](https://affpapa.org/en/nevibecode/skills/devops-cicd.md) — skill · 606 installs
- [cicd-automation-cloud-architect](https://affpapa.org/en/nevibecode/agents/cicd-automation-cloud-architect.md) — subagent · ★ 41823
- [TerraVision](https://affpapa.org/en/nevibecode/mcp/terravision.md) — MCP server · ★ 1663
- [senior-devops](https://affpapa.org/en/nevibecode/skills/senior-devops.md) — skill · 1018 installs
- [terraform-infrastructure](https://affpapa.org/en/nevibecode/skills/terraform-infrastructure.md) — skill · 1200 installs
- [aws-iam](https://affpapa.org/en/nevibecode/skills/aws-iam.md) — skill · 10200 installs

From the same set: [reason-machines/data-skills](https://affpapa.org/en/nevibecode/by/reason-machines/data-skills.md) — 62 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
