infra-terraform

Enforce Terraform infrastructure as code best practices across environments.

1|Updated Aug 10, 2024
One-click install
npx skills add https://github.com/takumi12311123/dotfiles --skill infra-terraform
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infra-terraform
Source: https://github.com/takumi12311123/dotfiles/tree/main/.claude/skills/infra-terraform
Command: npx skills add https://github.com/takumi12311123/dotfiles --skill infra-terraform

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Terraform deployments often suffer from drift, misconfigurations, and insecure infrastructure due to ad-hoc wiring and inconsistent module usage. This skill provides a standardized approach to IaC with modular design, secure state management, and CI/CD integration to reduce risk and accelerate safe cloud deployments.

Core Features & Use Cases

  • Standard module design and reusable components for consistent infrastructure across environments.
  • Remote state management with locking for safe concurrent deployments, versioning, and environment isolation.
  • Security-focused practices, including secret handling, least-privilege IAM patterns, and automated validation in CI pipelines.
  • CI/CD integration for automated formatting, validation, plan, and apply workflows across environments.

Quick Start

Run the standardized Terraform setup to initialize modules and apply a first environment configuration.

Frequently Asked Questions about infra-terraform

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent configuration drift in multi-environment Terraform deployments?

To prevent Terraform configuration drift, use standardized module structures and remote backends with state locking. This skill enforces these infrastructure as code best practices to guarantee safe concurrent deployments and environment isolation.

What is the best way to manage Terraform state in CI/CD pipelines?

Managing Terraform state in CI/CD requires remote backends with locking and versioning to isolate environments. This skill implements these configurations alongside automated formatting, validation, plan, and apply workflows for safe infrastructure provisioning.

How do I secure secrets and enforce least-privilege IAM in Terraform?

Securing Terraform secrets and enforcing least-privilege IAM requires standardized module design and automated validation in CI pipelines. This skill implements security-focused practices for secret handling to reduce risk in cloud deployments.

Can I use standardized Terraform modules for reproducible cloud infrastructure?

Yes, using standardized Terraform modules ensures reproducible cloud infrastructure. This skill enforces reusable component designs and version pinning to maintain consistent infrastructure across multiple environments and reduce misconfigurations.

Why does my Terraform infrastructure suffer from misconfigurations and drift?

Terraform infrastructure suffers from misconfigurations and drift due to ad-hoc wiring and inconsistent module usage. This skill resolves these issues by enforcing standardized module structures and secure state management for safe cloud deployments.