-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecords-neurotech-app.tf
99 lines (88 loc) · 2.66 KB
/
records-neurotech-app.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Main Domain A, MX, and TXT Records
resource "exoscale_domain_record" "neurotech_app_a" {
domain = exoscale_domain.neurotech_app.id
name = ""
record_type = "A"
content = "194.182.163.251"
ttl = 3600
}
resource "exoscale_domain_record" "neurotech_app_mx" {
domain = exoscale_domain.neurotech_app.id
name = ""
record_type = "MX"
prio = 5
content = "parker.dmn.io."
ttl = 3600
}
resource "exoscale_domain_record" "neurotech_app_txt" {
domain = exoscale_domain.neurotech_app.id
name = ""
record_type = "TXT"
content = "v=spf1 include:_spf.dmn.io ~all"
ttl = 3600
}
# Subdomain Records
resource "exoscale_domain_record" "neurotech_app_radar_a" {
domain = exoscale_domain.neurotech_app.id
name = "radar"
record_type = "A"
content = "86.119.31.154"
ttl = 300
}
resource "exoscale_domain_record" "neurotech_app_radar_txt" {
domain = exoscale_domain.neurotech_app.id
name = "radar"
record_type = "TXT"
content = "v=spf1 include:_spf.dmn.io ~all"
ttl = 300
}
resource "exoscale_domain_record" "neurotech_app_snow_staging_a" {
domain = exoscale_domain.neurotech_app.id
name = "snow-staging"
record_type = "A"
content = "86.119.30.196"
ttl = 300
}
resource "exoscale_domain_record" "neurotech_app_snow_a" {
domain = exoscale_domain.neurotech_app.id
name = "snow"
record_type = "A"
content = "86.119.31.68"
ttl = 300
}
resource "exoscale_domain_record" "neurotech_app_snow_txt" {
domain = exoscale_domain.neurotech_app.id
name = "snow"
record_type = "TXT"
content = "v=spf1 include:_spf.dmn.io ~all"
ttl = 3600
}
# CNAME Records for services
resource "exoscale_domain_record" "neurotech_app_www_cname" {
domain = exoscale_domain.neurotech_app.id
name = "www"
record_type = "CNAME"
content = "neurotech.app."
ttl = 300
}
resource "exoscale_domain_record" "neurotech_app_radar_cname" {
domain = exoscale_domain.neurotech_app.id
name = "*.radar"
record_type = "CNAME"
content = "radar.neurotech.app"
ttl = 300
}
resource "exoscale_domain_record" "neurotech_app_snow_staging_cname" {
domain = exoscale_domain.neurotech_app.id
name = "*.snow-staging"
record_type = "CNAME"
content = "snow-staging.neurotech.app"
ttl = 300
}
resource "exoscale_domain_record" "neurotech_app_snow_cname" {
domain = exoscale_domain.neurotech_app.id
name = "*.snow"
record_type = "CNAME"
content = "snow.neurotech.app"
ttl = 300
}