This repository was archived by the owner on Mar 21, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdns-apps.tf
62 lines (56 loc) · 1.67 KB
/
dns-apps.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
resource "desec_rrset" "fluitans_a" {
domain = desec_domain.root.name
subname = "fluitans"
type = "A"
# This should be a list of all VMs hosting the fluitans service
records = [module.orchestrator_gcp_us_west1_a_1.public_ipv4]
ttl = 3600
}
# TODO: migrate live.sargassum.world to managed infra
resource "desec_rrset" "live_a" {
domain = desec_domain.root.name
subname = "live"
type = "A"
records = ["35.212.249.95"] # TODO: this should be the address of the compute instance under soe-sargassum-planktoscope, for billing purposes
ttl = 3600
}
# TODO: migrate fider.sargassum.world to managed infra
resource "desec_rrset" "fider_a" {
domain = desec_domain.root.name
subname = "fider"
type = "A"
records = ["49.12.214.144"]
ttl = 3600
}
# TODO: migrate fider.sargassum.world to managed infra
resource "desec_rrset" "fider_aaaa" {
domain = desec_domain.root.name
subname = "fider"
type = "AAAA"
records = ["2a01:4f8:c010:a153::"]
ttl = 3600
}
# TODO: migrate applications off this record
resource "desec_rrset" "fluitans_caprover_a" {
domain = desec_domain.root.name
subname = "*.cloud.fluitans"
type = "A"
records = ["49.12.214.144"]
ttl = 3600
}
# TODO: migrate applications off this record
resource "desec_rrset" "fluitans_caprover_aaaa" {
domain = desec_domain.root.name
subname = "*.cloud.fluitans"
type = "AAAA"
records = ["2a01:4f8:c010:a153::"]
ttl = 3600
}
# TODO: migrate applications off this record
resource "desec_rrset" "syngnathus_caprover_a" {
domain = desec_domain.root.name
subname = "*.cloud.syngnathus"
type = "A"
records = ["35.212.249.95"]
ttl = 3600
}