All Projects → fatih → Hclfmt

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

Terraform Gke Kubeflow Cluster
Terraform module for creating GKE clusters to run Kubeflow
Stars: ✭ 177 (-11.5%)
Mutual labels:  hcl
Vault Infra
Terraform to create Vault infrastructure
Stars: ✭ 186 (-7%)
Mutual labels:  hcl
Go Lambda Ping
Deploy a Lambda to Ping a Site in 20 Seconds!
Stars: ✭ 195 (-2.5%)
Mutual labels:  hcl
Tf aws bastion s3 keys
A 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 Resource
Run (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 Nomad
A Terraform Module for how to run Nomad on AWS using Terraform and Packer
Stars: ✭ 189 (-5.5%)
Mutual labels:  hcl
K8s Scw Baremetal
Kubernetes installer for Scaleway bare-metal AMD64 and ARMv7
Stars: ✭ 176 (-12%)
Mutual labels:  hcl
Terraform Aws Jenkins
Terraform 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
Stylefmt
stylefmt is a tool that automatically formats stylesheets.
Stars: ✭ 2,123 (+961.5%)
Mutual labels:  formatter
Infra
99.9% less leaked credentials
Stars: ✭ 195 (-2.5%)
Mutual labels:  hcl
Hcl Picker
🎨 Colorpicker for data
Stars: ✭ 178 (-11%)
Mutual labels:  hcl
Logrus Prefixed Formatter
Logrus Prefixed Log Formatter
Stars: ✭ 181 (-9.5%)
Mutual labels:  formatter
Terraform Aws Lambda
Terraform 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 Guides
Example usage of HashiCorp Nomad
Stars: ✭ 178 (-11%)
Mutual labels:  hcl
Ecs Terraform
ECS + Terraform = Crazy delicious
Stars: ✭ 195 (-2.5%)
Mutual labels:  hcl
Stack
A set of Terraform modules for configuring production infrastructure with AWS
Stars: ✭ 2,080 (+940%)
Mutual labels:  hcl
Jstoolnpp
A JavaScript (JSON) tool for Notepad++ (formerly JSMinNpp) and Visual Studio Code.
Stars: ✭ 186 (-7%)
Mutual labels:  formatter
Terraform Okta Ssm Modules
Terraform 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 Foundation
Example 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 Build Status

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].