# /cloud-infra - Cloud Infrastructure as Code (Terraform / IaC)

> Terraform scripts for AWS Aurora, S3 buckets, VPCs, and Cloudflare DNS.

Canonical: https://www.agentickit.co/commands/cloud-infra
Last updated: 2026-11-18

Generates Terraform or AWS CDK infrastructure scripts for provisioning production cloud infrastructure with security and high availability.

**Usage:** `Use when setting up databases, cloud storage buckets, or serverless infrastructure.`

## Pipeline
1. Configure cloud provider authentication and remote state storage
2. Define modular infrastructure resources (VPC, database, storage buckets)
3. Set up security groups, IAM least-privilege roles, and encryption keys
4. Generate variables.tf and terraform.tfvars template files

## Output files
- `terraform/main.tf`
- `terraform/variables.tf`
- `terraform/outputs.tf`

**Claude Code frontmatter:** `argument-hint: [infrastructure change or environment]` · `model: inherit`

## Related
- [cloud-architect](https://www.agentickit.co/agents/cloud-architect)
- [devops-engineer](https://www.agentickit.co/agents/devops-engineer)
- [terraform-iac](https://www.agentickit.co/skills/terraform-iac)
- [sre-observability](https://www.agentickit.co/skills/sre-observability)
