Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 567 Bytes

Readme.md

File metadata and controls

27 lines (19 loc) · 567 Bytes

Content

This repository contains Terraform modules.

All modules have their description in their directory.

How to setup pre-commit hooks

Follow the documentation at https://github.com/antonbabenko/pre-commit-terraform and https://pre-commit.com/

Run once:

# Install dependencies
brew install pre-commit terraform-docs
pre-commit install

# test pre-commit hooks
pre-commit run -a

pre-commit hooks:

  • validate terraform config
  • check yaml formattings
  • format terraform config
  • fix missing \n at the end of files
  • fix trailing whitespaces