mirror of
https://github.com/apricote/home-cloud.git
synced 2026-01-13 13:01:03 +00:00
feat: add dns management
This commit is contained in:
parent
6ea9911f29
commit
d097de521b
4 changed files with 163 additions and 3 deletions
|
|
@ -20,3 +20,11 @@ resource "hcloud_volume_attachment" "terraria_data" {
|
|||
server_id = hcloud_server.terraria.id
|
||||
automount = true
|
||||
}
|
||||
|
||||
resource "hetznerdns_record" "terraria" {
|
||||
zone_id = hetznerdns_zone.apricote_de.id
|
||||
name = "terraria"
|
||||
value = hcloud_server.terraria.ipv4_address
|
||||
type = "A"
|
||||
ttl = 60
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue