feat: Added terraform config... just a basic one at first
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user