chore: remove whitby configuration
Removes whitby DNS records and other related configuration that is no longer required now that whitby is gone. whitby served us well. RIP. This resolves b/433. Change-Id: I56fe6f88cde9112fc3bfc79758ac33e88a743422 Reviewed-on: https://cl.tvl.fyi/c/depot/+/13117 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
67affb7b46
commit
c88fae5277
17 changed files with 37 additions and 417 deletions
|
|
@ -39,20 +39,6 @@ resource "glesys_dnsdomain_record" "tvl_fyi_apex_AAAA" {
|
|||
data = var.bugry_ipv6
|
||||
}
|
||||
|
||||
resource "glesys_dnsdomain_record" "tvl_fyi_whitby_A" {
|
||||
domain = glesys_dnsdomain.tvl_fyi.id
|
||||
host = "whitby"
|
||||
type = "A"
|
||||
data = var.whitby_ipv4
|
||||
}
|
||||
|
||||
resource "glesys_dnsdomain_record" "tvl_fyi_whitby_AAAA" {
|
||||
domain = glesys_dnsdomain.tvl_fyi.id
|
||||
host = "whitby"
|
||||
type = "AAAA"
|
||||
data = var.whitby_ipv6
|
||||
}
|
||||
|
||||
resource "glesys_dnsdomain_record" "tvl_fyi_nevsky_A" {
|
||||
domain = glesys_dnsdomain.tvl_fyi.id
|
||||
host = "nevsky"
|
||||
|
|
@ -113,7 +99,7 @@ resource "glesys_dnsdomain_record" "cache_tvl_fyi_A" {
|
|||
host = "cache"
|
||||
type = "A"
|
||||
data = each.key
|
||||
for_each = toset([var.whitby_ipv4, var.nevsky_ipv4])
|
||||
for_each = toset([var.nevsky_ipv4])
|
||||
}
|
||||
|
||||
resource "glesys_dnsdomain_record" "cache_tvl_fyi_AAAA" {
|
||||
|
|
@ -121,18 +107,11 @@ resource "glesys_dnsdomain_record" "cache_tvl_fyi_AAAA" {
|
|||
host = "cache"
|
||||
type = "AAAA"
|
||||
data = each.key
|
||||
for_each = toset([var.whitby_ipv6, var.nevsky_ipv6])
|
||||
for_each = toset([var.nevsky_ipv6])
|
||||
}
|
||||
|
||||
# Builderball cache records
|
||||
|
||||
resource "glesys_dnsdomain_record" "tvl_fyi_cache_whitby_CNAME" {
|
||||
domain = glesys_dnsdomain.tvl_fyi.id
|
||||
type = "CNAME"
|
||||
data = "whitby.tvl.fyi."
|
||||
host = "whitby.cache"
|
||||
}
|
||||
|
||||
resource "glesys_dnsdomain_record" "tvl_fyi_cache_nevsky_CNAME" {
|
||||
domain = glesys_dnsdomain.tvl_fyi.id
|
||||
type = "CNAME"
|
||||
|
|
|
|||
|
|
@ -39,20 +39,6 @@ resource "glesys_dnsdomain_record" "tvl_su_apex_AAAA" {
|
|||
data = var.bugry_ipv6
|
||||
}
|
||||
|
||||
resource "glesys_dnsdomain_record" "tvl_su_whitby_A" {
|
||||
domain = glesys_dnsdomain.tvl_su.id
|
||||
host = "whitby"
|
||||
type = "A"
|
||||
data = var.whitby_ipv4
|
||||
}
|
||||
|
||||
resource "glesys_dnsdomain_record" "tvl_su_whitby_AAAA" {
|
||||
domain = glesys_dnsdomain.tvl_su.id
|
||||
host = "whitby"
|
||||
type = "AAAA"
|
||||
data = var.whitby_ipv6
|
||||
}
|
||||
|
||||
resource "glesys_dnsdomain_record" "tvl_su_sanduny_A" {
|
||||
domain = glesys_dnsdomain.tvl_su.id
|
||||
host = "sanduny"
|
||||
|
|
|
|||
|
|
@ -51,16 +51,6 @@ resource "glesys_objectstorage_credential" "litestream" {
|
|||
description = "key for litestream"
|
||||
}
|
||||
|
||||
variable "whitby_ipv4" {
|
||||
type = string
|
||||
default = "49.12.129.211"
|
||||
}
|
||||
|
||||
variable "whitby_ipv6" {
|
||||
type = string
|
||||
default = "2a01:4f8:242:5b21:0:feed:edef:beef"
|
||||
}
|
||||
|
||||
variable "nevsky_ipv4" {
|
||||
type = string
|
||||
default = "188.225.81.75"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue