terraform-infra-ops

salieri's avatarfrom salieri

Operate and update the Terraform infrastructure in ops/infra, including init/apply flows, formatting, and linting. Use when modifying Cloudflare Pages/R2 resources, updating Terraform state config, or running infra operations.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 1, 2026⬇️2downloads

When & Why to Use This Skill

This Claude skill automates the management and maintenance of Terraform-based cloud infrastructure. It streamlines the Infrastructure as Code (IaC) lifecycle—including initialization, deployment, formatting, and linting—specifically optimized for Cloudflare Pages and R2 resources to ensure reliable, consistent, and error-free environment provisioning.

Use Cases

  • Automated Infrastructure Deployment: Efficiently initialize and apply Terraform configurations to provision or update Cloudflare Pages and R2 resources directly through the AI agent.
  • Code Quality & Compliance: Maintain high standards for Infrastructure as Code by automatically running 'terraform fmt' and 'tflint' to identify syntax errors and style inconsistencies before deployment.
  • State Management & Backend Operations: Securely manage Terraform state configurations and backend environment variables (AWS S3/Cloudflare) to facilitate smooth infrastructure updates and collaborative workflows.
nameterraform-infra-ops
descriptionOperate and update the Terraform infrastructure in ops/infra, including init/apply flows, formatting, and linting. Use when modifying Cloudflare Pages/R2 resources, updating Terraform state config, or running infra operations.

Terraform Infra Ops

Overview

Apply and maintain the Cloudflare Terraform infrastructure using the repo's documented workflow.

Workflow

  1. Work from ops/infra and follow the runbook in ops/infra/README.md for first-run vs subsequent runs.
  2. Export required backend variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_ENDPOINT_URL_S3) before running Terraform.
  3. Run terraform fmt and tflint on changes before completion.