-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
vortexdotname.tf
124 lines (111 loc) · 3.3 KB
/
vortexdotname.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
data "cloudflare_zones" "vortexdotname" {
filter {
name = "vortex.name"
}
}
# zone
resource "cloudflare_zone" "vortex_name" {
zone = "vortex.name"
paused = false
plan = "free"
type = "full"
}
# page_rule
resource "cloudflare_page_rule" "vortexdotname_https_rewrite" {
zone_id = data.cloudflare_zones.vortexdotname.zones[0].id
target = "http://*.vortex.name/*"
priority = 1
status = "active"
actions {
always_use_https = true
}
}
# record
resource "cloudflare_record" "vortexdotname_CNAME_polywork_vortex_name" {
zone_id = data.cloudflare_zones.vortexdotname.zones[0].id
name = "vortex.name"
type = "CNAME"
ttl = "1"
proxied = "false"
value = "vascular-sawfish-x3yogvemepww6hq611chcm1b.herokudns.com"
}
resource "cloudflare_record" "vortexdotname_AAAA_connect-with_vortex_name" {
zone_id = data.cloudflare_zones.vortexdotname.zones[0].id
name = "connect-with"
type = "AAAA"
ttl = "1"
proxied = "true"
value = "100::"
}
resource "cloudflare_record" "vortexdotname_AAAA_workers_vortex_name" {
zone_id = data.cloudflare_zones.vortexdotname.zones[0].id
name = "workers"
type = "AAAA"
ttl = "1"
proxied = "true"
value = "100::"
}
resource "cloudflare_record" "vortexdotname_CNAME_dotfiles_vortex_name" {
zone_id = data.cloudflare_zones.vortexdotname.zones[0].id
name = "dotfiles"
type = "CNAME"
ttl = "1"
proxied = "true"
value = "0-vortex.github.io"
}
resource "cloudflare_record" "vortexdotname_CNAME_open-sauced-explorer-test_vortex_name" {
zone_id = data.cloudflare_zones.vortexdotname.zones[0].id
name = "open-sauced-explorer-test"
type = "CNAME"
ttl = "1"
proxied = "true"
value = "0-vortex.github.io"
}
resource "cloudflare_record" "vortexdotname_CNAME_open-sauced-docs-test_vortex_name" {
zone_id = data.cloudflare_zones.vortexdotname.zones[0].id
name = "open-sauced-docs-test"
type = "CNAME"
ttl = "1"
proxied = "true"
value = "0-vortex.github.io"
}
resource "cloudflare_record" "vortexdotname_CNAME_tedvortex-xyz_vortex_name" {
zone_id = data.cloudflare_zones.vortexdotname.zones[0].id
name = "tedvortex-xyz"
type = "CNAME"
ttl = "1"
proxied = "true"
value = "0-vortex.github.io"
}
resource "cloudflare_record" "vortexdotname_CNAME_terraform_vortex_name" {
zone_id = data.cloudflare_zones.vortexdotname.zones[0].id
name = "terraform"
type = "CNAME"
ttl = "1"
proxied = "true"
value = "0-vortex.github.io"
}
resource "cloudflare_record" "vortexdotname_CNAME_dark-elise_vortex_name" {
zone_id = data.cloudflare_zones.vortexdotname.zones[0].id
name = "dark-elise"
type = "CNAME"
ttl = "1"
proxied = "true"
value = "0-vortex.github.io"
}
resource "cloudflare_record" "vortexdotname_CNAME_polywork-handbook_vortex_name" {
zone_id = data.cloudflare_zones.vortexdotname.zones[0].id
name = "polywork"
type = "CNAME"
ttl = "1"
proxied = "true"
value = "0-vortex.github.io"
}
resource "cloudflare_record" "vortexdotname_TXT_google-site-verification_vortex_name" {
zone_id = data.cloudflare_zones.vortexdotname.zones[0].id
name = "vortex.name"
type = "TXT"
ttl = "1"
proxied = "false"
value = "google-site-verification=o5fTXqHt2wcT1UItoGn5vLgQf8zzO4C342uNtclqhiM"
}