# Terraform / Infrastructure as Code Guidelines

> Objective: Define standards for writing safe, maintainable, reusable, and secure Terraform configurations covering project structure, state management, variable handling, security scanning, and workflow automation.

::: tip Source File
View the full rule: [`.agent/rules/terraform.md`](https://github.com/snowdreamtech/template/blob/main/.agent/rules/terraform.md)
:::

## Sections

- 1. Project Structure & Modules
- 1. State Management
- 1. Variables & Secrets
- 1. Code Quality & Security
- 1. Workflow & Safety
