feat: yank terraria :(

This commit is contained in:
Julian Tölle 2023-05-19 22:03:11 +02:00
parent 2a075ff0b1
commit 48c08f7262

View file

@ -1,30 +1 @@
## Terraria
resource "hcloud_server" "terraria" {
name = "terraria"
image = "ubuntu-20.04"
server_type = "cx21"
location = "nbg1"
ssh_keys = [data.hcloud_ssh_key.default.id]
}
resource "hcloud_volume" "terraria_data" {
name = "terraria-data"
size = 20
location = "nbg1"
format = "ext4"
}
resource "hcloud_volume_attachment" "terraria_data" {
volume_id = hcloud_volume.terraria_data.id
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
}