feat: Added terraform config... just a basic one at first

This commit is contained in:
2026-07-09 21:55:50 +01:00
parent 5486716981
commit 3bfa0e6f32
33 changed files with 1235 additions and 5 deletions
+17
View File
@@ -0,0 +1,17 @@
# disk1 in architecture.md - attached to prod
resource "hcloud_volume" "prod_storage" {
name = "prod-storage"
size = var.prod_volume_size
server_id = hcloud_server.prod.id
automount = true
format = "ext4"
}
# disk2 in architecture.md - attached to dev
resource "hcloud_volume" "dev_storage" {
name = "dev-storage"
size = var.dev_volume_size
server_id = hcloud_server.dev.id
automount = true
format = "ext4"
}