mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add hel1 server
This commit is contained in:
parent
2a426da0b4
commit
66c62a2e40
9 changed files with 401 additions and 82 deletions
|
|
@ -2,6 +2,7 @@ locals {
|
|||
dmarc_value = "\"v=DMARC1; p=none; rua=mailto:failed-dmarc@banditlair.com; ruf=mailto:dmarc@banditlair.com\""
|
||||
storage1_ip = "78.46.96.243"
|
||||
storage1_ipv6 = "2a01:4f8:120:8233::1"
|
||||
hel1_ip = "37.27.138.62"
|
||||
}
|
||||
|
||||
data "hetznerdns_zone" "banditlair_zone" {
|
||||
|
|
@ -60,6 +61,14 @@ resource "hetznerdns_record" "storage1_a" {
|
|||
ttl = 600
|
||||
}
|
||||
|
||||
resource "hetznerdns_record" "hel1_a" {
|
||||
zone_id = data.hetznerdns_zone.banditlair_zone.id
|
||||
name = "hel1"
|
||||
value = local.hel1_ip
|
||||
type = "A"
|
||||
ttl = 600
|
||||
}
|
||||
|
||||
resource "hetznerdns_record" "grafana_a" {
|
||||
zone_id = data.hetznerdns_zone.banditlair_zone.id
|
||||
name = "grafana"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue