Anton Babenko
  • Serverless+Terraform
  • Terraform Cost Estimation
  • Terraform Best Practices (ebook)
  • My projects
Subscribe
Tagged

Getting Started

A collection of 1 post

Running "terraform fmt" as pre-commit git hook [archived]
pre-commit

Running "terraform fmt" as pre-commit git hook [archived]

This is my second blog post related to Terraform. Previous one was about how I structure Terraform configuration, which got some interesting feedback on reddit. This time I want to share pre-commit hook which runs "terraform fmt" on your Terraform configuration files. Nothing more, nothing less. Code is here -

  • Anton Babenko
Anton Babenko Sep 27, 2016 • 1 min read
Anton Babenko © 2022
Powered by Ghost