Decommission decker
server
It's been replaced by prometheus running internally, and uptimerobot checking.
This commit is contained in:
@ -4,7 +4,6 @@ resource "local_file" "hosts" {
|
||||
casey_ip : linode_instance.casey.ip_address,
|
||||
walker_ip : vultr_instance.walker.main_ip,
|
||||
grimes_ip : vultr_instance.grimes.main_ip,
|
||||
decker_ip : linode_instance.decker.ip_address,
|
||||
}
|
||||
})
|
||||
filename = "${path.module}/../ansible/group_vars/all/hosts.yml"
|
||||
|
@ -1,45 +0,0 @@
|
||||
resource "linode_instance" "decker" {
|
||||
label = "decker"
|
||||
image = "linode/arch"
|
||||
region = "eu-central"
|
||||
type = "g6-nanode-1"
|
||||
private_ip = true
|
||||
}
|
||||
|
||||
resource "linode_firewall" "decker" {
|
||||
label = "decker"
|
||||
linodes = [linode_instance.decker.id]
|
||||
outbound_policy = "ACCEPT"
|
||||
inbound_policy = "DROP"
|
||||
|
||||
inbound {
|
||||
label = "allow-ping"
|
||||
action = "ACCEPT"
|
||||
protocol = "ICMP"
|
||||
ipv4 = ["0.0.0.0/0"]
|
||||
ipv6 = ["::/0"]
|
||||
}
|
||||
|
||||
inbound {
|
||||
label = "allow-inbound-https"
|
||||
action = "ACCEPT"
|
||||
protocol = "TCP"
|
||||
ports = "443"
|
||||
ipv4 = ["0.0.0.0/0"]
|
||||
ipv6 = ["::/0"]
|
||||
}
|
||||
|
||||
inbound {
|
||||
label = "allow-inbound-http"
|
||||
action = "ACCEPT"
|
||||
protocol = "TCP"
|
||||
ports = "80"
|
||||
ipv4 = ["0.0.0.0/0"]
|
||||
ipv6 = ["::/0"]
|
||||
}
|
||||
}
|
||||
|
||||
resource "linode_rdns" "decker_reverse_ipv4" {
|
||||
address = linode_instance.decker.ip_address
|
||||
rdns = "decker.sys.theorangeone.net"
|
||||
}
|
@ -21,11 +21,3 @@ resource "cloudflare_record" "sys_domain_grimes" {
|
||||
type = "A"
|
||||
ttl = 1
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "sys_domain_decker" {
|
||||
zone_id = cloudflare_zone.theorangeonenet.id
|
||||
name = "decker.sys"
|
||||
value = linode_instance.decker.ip_address
|
||||
type = "A"
|
||||
ttl = 1
|
||||
}
|
||||
|
@ -197,14 +197,6 @@ resource "cloudflare_record" "theorangeonenet_dokku_wildcard" {
|
||||
ttl = 1
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "theorangeonenet_status" {
|
||||
zone_id = cloudflare_zone.theorangeonenet.id
|
||||
name = "status"
|
||||
value = linode_instance.decker.ip_address
|
||||
type = "A"
|
||||
ttl = 1
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "theorangeonenet_google_site_verification" {
|
||||
zone_id = cloudflare_zone.theorangeonenet.id
|
||||
name = "@"
|
||||
|
@ -2,7 +2,6 @@ resource "uptimerobot_monitor" "vps_ping" {
|
||||
for_each = {
|
||||
casey = linode_instance.casey.ip_address
|
||||
walker = vultr_instance.walker.main_ip
|
||||
decker = linode_instance.decker.ip_address
|
||||
grimes = vultr_instance.grimes.main_ip
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user