fatih / Hclfmt
Licence: bsd-3-clause
Format and prettify HCL files
Programming Languages
go 31211 projects - #10 most used programming language
Projects that are alternatives of or similar to Hclfmt
Vault InfraTerraform to create Vault infrastructure
Stars: ✭ 186 (-7%)
Mutual labels: hcl
Go Lambda PingDeploy a Lambda to Ping a Site in 20 Seconds!
Stars: ✭ 195 (-2.5%)
Mutual labels: hcl
Tf aws bastion s3 keysA Terraform module for creating bastion host on AWS EC2 and populate its ~/.ssh/authorized_keys with public keys from bucket
Stars: ✭ 178 (-11%)
Mutual labels: hcl
Terraform Shell ResourceRun (exec) a command in shell and capture the output (stdout, stderr) and status code (exit status)
Stars: ✭ 181 (-9.5%)
Mutual labels: hcl
Terraform Aws NomadA Terraform Module for how to run Nomad on AWS using Terraform and Packer
Stars: ✭ 189 (-5.5%)
Mutual labels: hcl
K8s Scw BaremetalKubernetes installer for Scaleway bare-metal AMD64 and ARMv7
Stars: ✭ 176 (-12%)
Mutual labels: hcl
Terraform Aws JenkinsTerraform module to build Docker image with Jenkins, save it to an ECR repo, and deploy to Elastic Beanstalk running Docker stack
Stars: ✭ 197 (-1.5%)
Mutual labels: hcl
Stylefmtstylefmt is a tool that automatically formats stylesheets.
Stars: ✭ 2,123 (+961.5%)
Mutual labels: formatter
Infra99.9% less leaked credentials
Stars: ✭ 195 (-2.5%)
Mutual labels: hcl
Hcl Picker🎨 Colorpicker for data
Stars: ✭ 178 (-11%)
Mutual labels: hcl
Terraform Aws LambdaTerraform module, which takes care of a lot of AWS Lambda/serverless tasks (build dependencies, packages, updates, deployments) in countless combinations
Stars: ✭ 190 (-5%)
Mutual labels: hcl
Nomad GuidesExample usage of HashiCorp Nomad
Stars: ✭ 178 (-11%)
Mutual labels: hcl
Ecs TerraformECS + Terraform = Crazy delicious
Stars: ✭ 195 (-2.5%)
Mutual labels: hcl
StackA set of Terraform modules for configuring production infrastructure with AWS
Stars: ✭ 2,080 (+940%)
Mutual labels: hcl
JstoolnppA JavaScript (JSON) tool for Notepad++ (formerly JSMinNpp) and Visual Studio Code.
Stars: ✭ 186 (-7%)
Mutual labels: formatter
Terraform Okta Ssm ModulesTerraform modules that help you explore Okta and AWS Session Manager integrations
Stars: ✭ 198 (-1%)
Mutual labels: hcl
Adaz🔧 Automatically deploy customizable Active Directory labs in Azure
Stars: ✭ 197 (-1.5%)
Mutual labels: hcl
Terraform Example FoundationExample repo showing how the CFT modules can be composed to build a secure cloud foundation.
Stars: ✭ 191 (-4.5%)
Mutual labels: hcl
Archived project. No maintenance.
This project is not maintained anymore and is archived. Feel free to fork and
make your own changes if needed. For more detail read my blog post: Taking an indefinite sabbatical from my projects
Thanks to everyone for their valuable feedback and contributions.
hclfmt
hclfmt is a command to format and prettify HCL files. It's similar to the
popular gofmt
command. Hook it with your favourite editor or use it from the
command line.
Install
If you have Go installed just do:
go get github.com/fatih/hclfmt
Editor integration
Usage
The usage is similar to gofmt
. If you pass a file it prints the formatted
output to std output:
$ hclfmt config.hcl
You can pass the -w
flag to directly overwrite your file:
$ hclfmt -w config.hcl
If no arguments are passed, it excepts the input from standard input.
License
The BSD 3-Clause License - see
LICENSE
for more
details
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at
[email protected].