Commit 6b69fcef authored by Mike Horwath's avatar Mike Horwath
Browse files

making a mess of things

parent 3b5ea115
Pipeline #970 passed with stage
in 18 seconds
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: detect-aws-credentials
- id: detect-private-key
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-executables-have-shebangs
- id: check-symlinks
- id: check-yaml
- id: check-json
- id: check-added-large-files
- repo: https://github.com/pre-commit/mirrors-yapf
rev: v0.30.0
hooks:
- id: yapf
- repo: https://github.com/detailyang/pre-commit-shell
rev: v1.0.6
hooks:
- id: shell-lint
# args: [--format=json]
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.30.0
hooks:
- id: terraform_fmt
- id: terragrunt_fmt
- id: terraform_docs
- id: terraform_validate
- id: terraform_tflint
args:
- 'args=--deep'
- 'args=--enable-rule=terraform_documented_variables'
- id: terraform_tfsec
......@@ -27,4 +27,3 @@ output "type" {
output "name_servers" {
value = cloudflare_zone.dns_zone.*.name_servers
}
......@@ -4,4 +4,3 @@ variable "zone" {
variable "create_zone" {
default = "false"
}
......@@ -2,4 +2,3 @@ resource "cloudflare_zone" "dns_zone" {
count = var.create_zone == "true" ? 1 : 0
zone = var.zone
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment