Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Terraform based repositories
Cloudflare Zone Module
Commits
6b69fcef
Commit
6b69fcef
authored
May 04, 2020
by
Mike Horwath
Browse files
making a mess of things
parent
3b5ea115
Pipeline
#970
passed with stage
in 18 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.pre-commit-config.yaml
0 → 100644
View file @
6b69fcef
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
outputs.tf
View file @
6b69fcef
...
...
@@ -27,4 +27,3 @@ output "type" {
output
"name_servers"
{
value
=
cloudflare_zone
.
dns_zone
.*.
name_servers
}
variables.tf
View file @
6b69fcef
...
...
@@ -4,4 +4,3 @@ variable "zone" {
variable
"create_zone"
{
default
=
"false"
}
zone.tf
View file @
6b69fcef
...
...
@@ -2,4 +2,3 @@ resource "cloudflare_zone" "dns_zone" {
count
=
var
.
create_zone
==
"true"
?
1
:
0
zone
=
var
.
zone
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment