Terraform 포매터
무료 온라인 Terraform HCL 코드 포맷 및 예쁘게 만들기, 설치 불필요
What is Terraform?
Terraform is an infrastructure-as-code tool that lets you define and provision infrastructure using a declarative configuration language called HCL (HashiCorp Configuration Language). It supports cloud providers like AWS, Azure, GCP, and many others.
How to Use This Terraform Formatter
Paste your .tf file content in the editor. The tool validates HCL syntax and applies consistent formatting including proper indentation, alignment, and spacing. It checks for common errors and highlights any issues.
▶Should I use this instead of terraform fmt?
No. Use terraform fmt command for production. This tool is for quick formatting checks when Terraform CLI is not available.
▶What HCL version is supported?
This tool supports HCL2 syntax used in Terraform 0.12+. Older HCL syntax may not be fully supported.
▶Does this validate resource syntax?
The formatter checks basic HCL syntax but does not validate that resource names, attributes, or values are correct for your provider. Use terraform validate for that.
이 도구가 도움이 되었다면, 개발자에게 커피 한 잔을 사주세요.
커피 사주기