feat: Add new hook for terraform providers lock operation (#173)

This commit is contained in:
Sergei Ivanov 2021-10-04 12:16:15 +01:00 committed by GitHub
commit d69e86d48b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 138 additions and 1 deletions

View file

@ -42,6 +42,15 @@
files: (\.tf|\.tfvars)$
exclude: \.terraform\/.*$
- id: terraform_providers_lock
name: Lock terraform provider versions
description: Updates provider signatures in dependency lock files.
require_serial: true
entry: terraform_providers_lock.sh
language: script
files: (\.terraform\.lock\.hcl)$
exclude: \.terraform\/.*$
- id: terraform_tflint
name: Terraform validate with tflint
description: Validates all Terraform configuration files with TFLint.