hashicorp/terraform-style-guide logo

hashicorp/terraform-style-guide

Free

Generate Terraform HCL code following HashiCorp's official style conventions

FreeFree tier
Type
Open Source

About hashicorp/terraform-style-guide

A skill for AI agents to generate Terraform HCL code that follows HashiCorp's official style conventions, ensuring consistency and best practices in Terraform configurations.

Key Features

Generates Terraform HCL code
Adheres to HashiCorp's official style conventions
Promotes code consistency and best practices

Pros & Cons

Pros
  • Ensures code follows official HashiCorp conventions
  • Promotes readability and maintainability of Terraform code
  • Useful for automated code generation in CI/CD pipelines
Cons
  • Limited to style and formatting suggestions; does not validate functional correctness
  • May not cover all organizational style preferences beyond HashiCorp defaults

Best For

Writing Terraform code with proper formatting and structureEnforcing style guidelines in Terraform projectsAutomating generation of maintainable Terraform configurations