mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
feat: Added support for tfupdate to update version constraints in Terraform configurations (#342)
This commit is contained in:
parent
35c45509ee
commit
ef7a0f2b46
4 changed files with 120 additions and 3 deletions
|
|
@ -111,3 +111,13 @@
|
|||
files: \.tf$
|
||||
exclude: \.terraform\/.*$
|
||||
require_serial: true
|
||||
|
||||
- id: tfupdate
|
||||
name: tfupdate
|
||||
description: Runs tfupdate on Terraform templates.
|
||||
language: script
|
||||
entry: hooks/tfupdate.sh
|
||||
args:
|
||||
- --args=terraform
|
||||
files: \.tf$
|
||||
require_serial: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue