Anton Babenko
  • Serverless+Terraform
  • Terraform Cost Estimation
  • Terraform Best Practices (ebook)
  • My projects
pre-commit

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

  • Anton Babenko

Anton Babenko

27 Sep 2016
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 - antonbabenko/pre-commit-terraform

Your Weekly Dose of Terraform — Live Streams
Featured

Your Weekly Dose of Terraform — Live Streams

I do live streams talking about things I enjoy working with — IaC, DevOps, Terraform, and AWS. The primary focus is on Terraform — what’s new, tools reviews, live-coding, do interviews with creators and community members, answer questions live, and so on. Here you can see previous streams — https://www.youtube.
26 Sep 2020 1 min read
Anonymized, Secure, and Free Terraform Cost Estimation
Featured

Anonymized, Secure, and Free Terraform Cost Estimation

There are some things you should know about infrastructure costs: * How much does my infrastructure is going to cost before create? * How much does my infrastructure cost after it is created (based on Terraform state)? * What is the difference in the price comparing to the current infrastructure (based on Terraform
14 May 2020 2 min read
"Terraform AWS modules" as a code

"Terraform AWS modules" as a code

After several years of maintaining Terraform AWS modules on GitHub [https://github.com/terraform-aws-modules] and making constant improvements in processes I decided to spend more time and improve things even further. I want other people to be involved and recognized also while I spend more time on other projects (eg,
20 Mar 2020 1 min read
Anton Babenko © 2025
Powered by Ghost