Devops 514 installs

terraform-style-guide

by hashicorp/agent-skills

Generate Terraform HCL code following HashiCorp's official style conventions and best practices. Use when writing, reviewing, or generating Terraform…

Skill content

Terraform Style Guide

Generate and maintain Terraform code following HashiCorp's official style conventions and best practices.

Reference: HashiCorp Terraform Style Guide

Code Generation Strategy

When generating Terraform code:

- Start with provider configuration and version constraints

- Create data sources before dependent resources

- Build resources in dependency order

- Add outputs for key resource attributes

- Use variables for all configurable values

File Organization