Add pre-commit config

This commit is contained in:
Santiago Lo Coco 2022-11-07 07:49:38 -03:00
parent 4ebd194315
commit b2da80b2db
9 changed files with 20 additions and 8 deletions

12
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,12 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.76.0
hooks:
- id: terraform_fmt
- id: terraform_docs
- id: terraform_checkov
- id: terraform_tflint
- id: terraform_tfsec
- id: terrascan
- id: tfupdate
# - id: terraform_validate

View File

@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.0.6"
required_version = "1.3.4"
required_providers {
aws = {

View File

@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.0.6"
required_version = "1.3.4"
required_providers {
aws = {

View File

@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.0.6"
required_version = "1.3.4"
required_providers {
aws = {

View File

@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.0.6"
required_version = "1.3.4"
required_providers {
aws = {

View File

@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.0.6"
required_version = "1.3.4"
required_providers {
aws = {

View File

@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.0.6"
required_version = "1.3.4"
required_providers {
aws = {

View File

@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.0.6"
required_version = "1.3.4"
required_providers {
aws = {

View File

@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.0.6"
required_version = "1.3.4"
required_providers {
aws = {