-
Notifications
You must be signed in to change notification settings - Fork 1
/
fomantic-ui.com.tf
53 lines (47 loc) · 1.37 KB
/
fomantic-ui.com.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
resource "digitalocean_domain" "fomantic-ui-com" {
name = "fomantic-ui.com"
}
# Documentation (GitHub Pages)
resource "digitalocean_record" "fomantic-ui-com-apex" {
for_each = toset(var.gh_pages_ip_address)
domain = digitalocean_domain.fomantic-ui-com.name
type = "A"
name = "@"
value = each.value
}
# Mail
resource "digitalocean_record" "fomantic-ui-com-mail-aspmx" {
domain = digitalocean_domain.fomantic-ui-com.name
type = "MX"
name = "@"
priority = "1"
value = "aspmx.l.google.com."
}
resource "digitalocean_record" "fomantic-ui-com-mail-alt1" {
domain = digitalocean_domain.fomantic-ui-com.name
type = "MX"
name = "@"
priority = "5"
value = "alt1.aspmx.l.google.com."
}
resource "digitalocean_record" "fomantic-ui-com-mail-alt2" {
domain = digitalocean_domain.fomantic-ui-com.name
type = "MX"
name = "@"
priority = "5"
value = "alt2.aspmx.l.google.com."
}
resource "digitalocean_record" "fomantic-ui-com-mail-alt3" {
domain = digitalocean_domain.fomantic-ui-com.name
type = "MX"
name = "@"
priority = "10"
value = "alt3.aspmx.l.google.com."
}
resource "digitalocean_record" "fomantic-ui-com-mail-alt4" {
domain = digitalocean_domain.fomantic-ui-com.name
type = "MX"
name = "@"
priority = "10"
value = "alt4.aspmx.l.google.com."
}