Commit 6468587c authored by Mike Horwath's avatar Mike Horwath
Browse files

another double check

parent 4c3baee6
Pipeline #969 passed with stage
in 15 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
......@@ -50,8 +50,8 @@ multi_records = [
["example.com", "mail.example.com", "10", "MX", "false"],
["example.com", "mail2.example.com", "20", "MX", "false"],
["example.com", "v=spf1 ptr ip6:2001:dead:beef::/48 ip4:204.1.0.0/22 ~all", 0, "SPF", "false"],
["www", "v=spf1 -all", 0, "SPF", "false"],
......
......@@ -8,4 +8,3 @@ resource "cloudflare_record" "multi" {
proxied = element(var.multi_records[count.index], 4) # optional IRL, required in var passing, boolean
ttl = "1" # this is default
}
......@@ -14,4 +14,3 @@ resource "cloudflare_record" "srv" {
target = element(var.srv_records[count.index], 5)
}
}
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