You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

121 lines
3.1 KiB

### s21.sudo.is
## delegated to digitalocean.com
resource "digitalocean_domain" "s21-sudo-is" {
name = "s21.sudo.is"
ip_address = local.fsn_lb_ip
}
## hosts
resource "digitalocean_record" "bear-s21-sudo-is" {
domain = digitalocean_domain.s21-sudo-is.name
type = "A"
name = "bear"
value = "192.168.21.10"
ttl = 60
}
resource "digitalocean_record" "ber-jenkins-g0-s21-sudo-is" {
domain = digitalocean_domain.s21-sudo-is.name
type = "A"
name = "ber-jenkins-g0"
value = "192.168.21.104"
ttl = 60
}
resource "digitalocean_record" "ber-sensnet-g0-s21-sudo-is" {
domain = digitalocean_domain.s21-sudo-is.name
type = "A"
name = "ber-sensnet-g0"
value = "192.168.21.109"
ttl = 60
}
resource "digitalocean_record" "benvm-s21-sudo-is" {
domain = digitalocean_domain.s21-sudo-is.name
type = "A"
name = "benvm"
value = "192.168.21.140"
ttl = 60
}
resource "digitalocean_record" "edge-s21-sudois" {
domain = digitalocean_domain.s21-sudo-is.name
type = "A"
name = "edge"
value = "10.102.47.138"
ttl = 60
}
resource "digitalocean_record" "ber0-s21-sudois" {
domain = digitalocean_domain.s21-sudo-is.name
type = "A"
name = "ber0"
value = "192.168.21.4"
ttl = 60
}
resource "digitalocean_record" "xbianbedroom-s21-sudois" {
domain = digitalocean_domain.s21-sudo-is.name
type = "A"
name = "xbianbedroom"
value = "192.168.21.118"
ttl = 60
}
## sensor hosts
resource "digitalocean_record" "sensor-bedroom-s21-sudois" {
domain = digitalocean_domain.s21-sudo-is.name
type = "A"
name = "sensor-bedroom"
value = "192.168.21.200"
ttl = 60
}
resource "digitalocean_record" "sensor-livingroom-s21-sudois" {
domain = digitalocean_domain.s21-sudo-is.name
type = "A"
name = "sensor-livingroom"
value = "192.168.21.201"
ttl = 60
}
resource "digitalocean_record" "eink-s21-sudois" {
domain = digitalocean_domain.s21-sudo-is.name
type = "A"
name = "eink"
value = "192.168.21.202"
ttl = 60
}
resource "digitalocean_record" "sensor-bathroom-s21-sudois" {
domain = digitalocean_domain.s21-sudo-is.name
type = "A"
name = "sensor-bathroom"
value = "192.168.21.203"
ttl = 60
}
resource "digitalocean_record" "sensor-study-s21-sudois" {
domain = digitalocean_domain.s21-sudo-is.name
type = "A"
name = "sensor-study"
value = "192.168.21.204"
ttl = 60
}
resource "digitalocean_record" "sensor-testbed-s21-sudois" {
domain = digitalocean_domain.s21-sudo-is.name
type = "A"
name = "sensor-testbed"
value = "192.168.21.205"
ttl = 60
}
## services
resource "digitalocean_record" "broker-s21-sudois" {
domain = digitalocean_domain.s21-sudo-is.name
type = "CNAME"
name = "broker"
value = "ber-sensnet-g0.s21.sudo.is."
ttl = 60
}
resource "digitalocean_record" "unifi-s21-sudois" {
domain = digitalocean_domain.s21-sudo-is.name
type = "CNAME"
name = "unifi"
value = "bear.s21.sudo.is."
ttl = 60
}