Add terraform format precommit
Format terraform files
This commit is contained in:
parent
29bccbac02
commit
1e1677cb4d
@ -32,3 +32,11 @@ repos:
|
||||
- "--wrap=90"
|
||||
types:
|
||||
- markdown
|
||||
|
||||
- id: terraform
|
||||
name: terraform format
|
||||
entry: terraform
|
||||
language: system
|
||||
args:
|
||||
- fmt
|
||||
files: ".*\\.tf$"
|
||||
|
@ -160,41 +160,41 @@ resource "digitalocean_record" "enp_mx" {
|
||||
}
|
||||
|
||||
resource "digitalocean_record" "enp_spf" {
|
||||
domain = digitalocean_domain.enp.id
|
||||
type = "TXT"
|
||||
name = "@"
|
||||
value = "v=spf1 include:spf.tutanota.de -all"
|
||||
ttl = 3600
|
||||
domain = digitalocean_domain.enp.id
|
||||
type = "TXT"
|
||||
name = "@"
|
||||
value = "v=spf1 include:spf.tutanota.de -all"
|
||||
ttl = 3600
|
||||
}
|
||||
|
||||
resource "digitalocean_record" "enp_domainkey1" {
|
||||
domain = digitalocean_domain.enp.id
|
||||
type = "CNAME"
|
||||
name = "s1._domainkey"
|
||||
value = "s1._domainkey.tutanota.de."
|
||||
ttl = 10600
|
||||
domain = digitalocean_domain.enp.id
|
||||
type = "CNAME"
|
||||
name = "s1._domainkey"
|
||||
value = "s1._domainkey.tutanota.de."
|
||||
ttl = 10600
|
||||
}
|
||||
|
||||
resource "digitalocean_record" "enp_domainkey2" {
|
||||
domain = digitalocean_domain.enp.id
|
||||
type = "CNAME"
|
||||
name = "s2._domainkey"
|
||||
value = "s2._domainkey.tutanota.de."
|
||||
ttl = 10600
|
||||
domain = digitalocean_domain.enp.id
|
||||
type = "CNAME"
|
||||
name = "s2._domainkey"
|
||||
value = "s2._domainkey.tutanota.de."
|
||||
ttl = 10600
|
||||
}
|
||||
|
||||
resource "digitalocean_record" "enp_mta1" {
|
||||
domain = digitalocean_domain.enp.id
|
||||
type = "CNAME"
|
||||
name = "_mta-sts"
|
||||
value = "_mta-sts.tutanota.com."
|
||||
ttl = 10600
|
||||
domain = digitalocean_domain.enp.id
|
||||
type = "CNAME"
|
||||
name = "_mta-sts"
|
||||
value = "_mta-sts.tutanota.com."
|
||||
ttl = 10600
|
||||
}
|
||||
|
||||
resource "digitalocean_record" "enp_mta2" {
|
||||
domain = digitalocean_domain.enp.id
|
||||
type = "CNAME"
|
||||
name = "mta-sts"
|
||||
value = "mta-sts.tutanota.com."
|
||||
ttl = 10600
|
||||
domain = digitalocean_domain.enp.id
|
||||
type = "CNAME"
|
||||
name = "mta-sts"
|
||||
value = "mta-sts.tutanota.com."
|
||||
ttl = 10600
|
||||
}
|
||||
|
@ -83,41 +83,41 @@ resource "digitalocean_record" "enpaul_mx" {
|
||||
}
|
||||
|
||||
resource "digitalocean_record" "enpaul_spf" {
|
||||
domain = digitalocean_domain.enpaul.id
|
||||
type = "TXT"
|
||||
name = "@"
|
||||
value = "v=spf1 include:spf.tutanota.de -all"
|
||||
ttl = 3600
|
||||
domain = digitalocean_domain.enpaul.id
|
||||
type = "TXT"
|
||||
name = "@"
|
||||
value = "v=spf1 include:spf.tutanota.de -all"
|
||||
ttl = 3600
|
||||
}
|
||||
|
||||
resource "digitalocean_record" "enpaul_domainkey1" {
|
||||
domain = digitalocean_domain.enpaul.id
|
||||
type = "CNAME"
|
||||
name = "s1._domainkey"
|
||||
value = "s1._domainkey.tutanota.de."
|
||||
ttl = 10600
|
||||
domain = digitalocean_domain.enpaul.id
|
||||
type = "CNAME"
|
||||
name = "s1._domainkey"
|
||||
value = "s1._domainkey.tutanota.de."
|
||||
ttl = 10600
|
||||
}
|
||||
|
||||
resource "digitalocean_record" "enpaul_domainkey2" {
|
||||
domain = digitalocean_domain.enpaul.id
|
||||
type = "CNAME"
|
||||
name = "s2._domainkey"
|
||||
value = "s2._domainkey.tutanota.de."
|
||||
ttl = 10600
|
||||
domain = digitalocean_domain.enpaul.id
|
||||
type = "CNAME"
|
||||
name = "s2._domainkey"
|
||||
value = "s2._domainkey.tutanota.de."
|
||||
ttl = 10600
|
||||
}
|
||||
|
||||
resource "digitalocean_record" "enpaul_mta1" {
|
||||
domain = digitalocean_domain.enpaul.id
|
||||
type = "CNAME"
|
||||
name = "_mta-sts"
|
||||
value = "_mta-sts.tutanota.com."
|
||||
ttl = 10600
|
||||
domain = digitalocean_domain.enpaul.id
|
||||
type = "CNAME"
|
||||
name = "_mta-sts"
|
||||
value = "_mta-sts.tutanota.com."
|
||||
ttl = 10600
|
||||
}
|
||||
|
||||
resource "digitalocean_record" "enpaul_mta2" {
|
||||
domain = digitalocean_domain.enpaul.id
|
||||
type = "CNAME"
|
||||
name = "mta-sts"
|
||||
value = "mta-sts.tutanota.com."
|
||||
ttl = 10600
|
||||
domain = digitalocean_domain.enpaul.id
|
||||
type = "CNAME"
|
||||
name = "mta-sts"
|
||||
value = "mta-sts.tutanota.com."
|
||||
ttl = 10600
|
||||
}
|
||||
|
Reference in New Issue
Block a user