Skip to content

Commit 8aec952

Browse files
committed
chore: execute "terraform 0.12upgrade"
$ terraform version Terraform v0.12.19 Part of #1268 [skip ci]
1 parent da91328 commit 8aec952

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

infra/terraform/my-stamps.tf

+13-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# @todo #1000 Terraform: add UptimeRobot
33
# @todo #1000 Terraform: add Mailgun
44

5-
variable "do_token" {}
5+
variable "do_token" {
6+
}
67

78
# Digital Ocean provider docs: https://www.terraform.io/docs/providers/do/index.html
89
provider "digitalocean" {
@@ -32,65 +33,76 @@ resource "digitalocean_record" "no-www" {
3233
name = "@"
3334
value = digitalocean_droplet.web.ipv4_address
3435
}
36+
3537
resource "digitalocean_record" "www" {
3638
domain = digitalocean_domain.site.name
3739
type = "A"
3840
name = "www"
3941
value = digitalocean_droplet.web.ipv4_address
4042
}
43+
4144
resource "digitalocean_record" "ns1" {
4245
domain = digitalocean_domain.site.name
4346
type = "NS"
4447
name = "@" # <-- to match the current settings. It's better to use "ns1" instead
4548
value = "ns1.digitalocean.com."
4649
}
50+
4751
resource "digitalocean_record" "ns2" {
4852
domain = digitalocean_domain.site.name
4953
type = "NS"
5054
name = "@" # <-- to match the current settings. It's better to use "ns2" instead
5155
value = "ns2.digitalocean.com."
5256
}
57+
5358
resource "digitalocean_record" "ns3" {
5459
domain = digitalocean_domain.site.name
5560
type = "NS"
5661
name = "@" # <-- to match the current settings. It's better to use "ns3" instead
5762
value = "ns3.digitalocean.com."
5863
}
64+
5965
resource "digitalocean_record" "mx1" {
6066
domain = digitalocean_domain.site.name
6167
type = "MX"
6268
name = "@" # <-- to match the current settings. It's better to use "mx1" instead
6369
value = "mxa.mailgun.org."
6470
priority = 10
6571
}
72+
6673
resource "digitalocean_record" "mx2" {
6774
domain = digitalocean_domain.site.name
6875
type = "MX"
6976
name = "@" # <-- to match the current settings. It's better to use "mx2" instead
7077
value = "mxb.mailgun.org."
7178
priority = 10
7279
}
80+
7381
resource "digitalocean_record" "email" {
7482
domain = digitalocean_domain.site.name
7583
type = "CNAME"
7684
name = "email"
7785
value = "mailgun.org."
7886
}
87+
7988
resource "digitalocean_record" "verification" {
8089
domain = digitalocean_domain.site.name
8190
type = "TXT"
8291
name = "@" # <-- to match the current settings. It's better to use "verification" instead
8392
value = "globalsign-domain-verification=405tmKGIyZt12MvKu_nJV1oCJ_e-MEjf_26bcFQX0t"
8493
}
94+
8595
resource "digitalocean_record" "spf" {
8696
domain = digitalocean_domain.site.name
8797
type = "TXT"
8898
name = "@" # <-- to match the current settings. It's better to use "spf" instead
8999
value = "v=spf1 include:mailgun.org ~all"
90100
}
101+
91102
resource "digitalocean_record" "domain_key" {
92103
domain = digitalocean_domain.site.name
93104
type = "TXT"
94105
name = "mx._domainkey"
95106
value = "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLo/TZgHYIM7xrU9dBJCJTTsP90rGhHuyTqSrC3LT+T3vsH5azrz1+9Dm86xz6TpcmrHV1WgmSnw72C++AXstlS8CEg6Z6XVuxMDKsMnMVEWDm1bpESy+h29Ns3kY/EzMTaF1V88ICmr6fSpQIOd9u/lZpsABjfh2wfag1rqWcGwIDAQAB"
96107
}
108+

0 commit comments

Comments
 (0)