mirror of
https://github.com/apricote/home-cloud.git
synced 2026-01-13 21:11:02 +00:00
feat: shutdown minecraft server
This commit is contained in:
parent
7569ad0b80
commit
bf506d9816
1 changed files with 0 additions and 19 deletions
|
|
@ -1,22 +1,3 @@
|
||||||
## Minecraft
|
|
||||||
|
|
||||||
resource "hcloud_server" "minecraft" {
|
|
||||||
name = "minecraft"
|
|
||||||
image = "ubuntu-20.04"
|
|
||||||
server_type = "cx21"
|
|
||||||
location = "nbg1"
|
|
||||||
}
|
|
||||||
|
|
||||||
resource "hcloud_volume" "minecraft_data" {
|
|
||||||
name = "minecraft-data"
|
|
||||||
size = 20
|
|
||||||
}
|
|
||||||
|
|
||||||
resource "hcloud_volume_attachment" "minecraft_data" {
|
|
||||||
volume_id = hcloud_volume.minecraft_data.id
|
|
||||||
server_id = hcloud_server.minecraft.id
|
|
||||||
}
|
|
||||||
|
|
||||||
## Terraria
|
## Terraria
|
||||||
|
|
||||||
resource "hcloud_server" "terraria" {
|
resource "hcloud_server" "terraria" {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue