terraform

Guide Terraform projects with best practices for variables, modules, and security.

11|2|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/bkircher/skills --skill terraform-bkircher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform
Source: https://github.com/bkircher/skills/tree/main/terraform
Command: npx skills add https://github.com/bkircher/skills --skill terraform-bkircher

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides guidance and enforces best practices for writing clean, maintainable, and secure Terraform code, helping to avoid common pitfalls and ensure infrastructure reliability.

Core Features & Use Cases

  • Best Practice Enforcement: Offers recommendations on modern Terraform features, naming conventions, and directory structures.
  • Security Guidelines: Details security considerations for cloud providers like AWS and Azure.
  • Use Case: When starting a new Terraform project or refactoring existing code, consult this Skill to ensure your configuration adheres to industry best practices for resource management, security, and organization.

Quick Start

Use the terraform skill to learn about best practices for resource naming conventions.

Frequently Asked Questions about terraform

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

FAQPage Schema
What are the best practices for structuring Terraform files and directories?

Terraform best practices recommend specific file and directory structures to maintain infrastructure as code. Organizing modules hierarchically and separating variables ensures maintainable configurations and avoids common refactoring pitfalls.

How do I handle variables and resource refactoring in Terraform?

Terraform variable handling and resource refactoring best practices involve using modern features and naming conventions. This approach ensures clean, maintainable infrastructure as code while reducing configuration errors during updates.

What security guidelines should I follow for Terraform on AWS and Azure?

Terraform security guidelines for AWS and Azure detail specific considerations for cloud providers. Enforcing these security practices within your infrastructure as code prevents vulnerabilities and ensures reliable cloud resource provisioning.

Can I use these Terraform best practices when refactoring existing infrastructure as code?

Terraform best practices apply directly when refactoring existing infrastructure as code. The guidelines help modernize resource management, enforce security, and reorganize module hierarchy without disrupting current cloud operations.

When do I need to follow Terraform module hierarchy recommendations?

Terraform module hierarchy recommendations are needed when managing complex infrastructure as code. Establishing a clear hierarchy and directory structure early prevents maintainability issues as your cloud resource count grows.