文件名称:pre-commit-terraform:预提交git钩子,以照顾Terraform配置
文件大小:25KB
文件格式:ZIP
更新时间:2024-02-26 22:52:51
hooks automation terraform pre-commit code-style
用于Terraform的git钩子集合,可与 如何安装 1.安装依赖项 terraform_docs挂钩所需的 。 如果在Terraform 0.12中使用早于0.8.0的terraform-docs则需要GNU awk 。 terraform_tflint挂钩需要 。 terraform_tfsec挂钩需要 。 macOS上terraform_validate挂钩所需的 (由于使用realpath )。 需要checkov钩。 苹果系统 brew tap liamg/tfsec brew install pre-commit gawk terraform-docs tflint t
【文件预览】:
pre-commit-terraform-master
----terraform_fmt.sh(710B)
----terraform_docs.sh(10KB)
----.github()
--------FUNDING.yml(66B)
----terraform_tfsec.sh(2KB)
----terraform_validate.sh(3KB)
----.chglog()
--------config.yml(212B)
--------CHANGELOG.tpl.md(3KB)
----LICENSE(1KB)
----pre_commit_hooks()
--------__init__.py(0B)
--------terraform_docs_replace.py(2KB)
----setup.py(1KB)
----README.md(10KB)
----.pre-commit-hooks.yaml(2KB)
----terraform_tflint.sh(2KB)
----Makefile(137B)
----.pre-commit-config.yaml(408B)
----terragrunt_fmt.sh(411B)
----terragrunt_validate.sh(413B)
----lib_getopt(15KB)
----CHANGELOG.md(16KB)