32 lines
947 B
HCL
32 lines
947 B
HCL
# 1. Kubernetes Longhorn Backup Target Shared Folder
|
|
resource "synology_filestation_share" "kubernetes" {
|
|
name = "kubernetes"
|
|
vol_path = "/volume1"
|
|
description = "Kubernetes Longhorn Backup Target and Persistent RWX storage"
|
|
enable_recycle_bin = false
|
|
}
|
|
|
|
# 2. Docker Swarm Persistent Volumes Shared Folder
|
|
resource "synology_filestation_share" "docker" {
|
|
name = "docker"
|
|
vol_path = "/volume1"
|
|
description = "Docker Swarm shared persistent storage"
|
|
enable_recycle_bin = false
|
|
}
|
|
|
|
# 3. Homelab Backups Shared Folder
|
|
resource "synology_filestation_share" "backups" {
|
|
name = "backups"
|
|
vol_path = "/volume1"
|
|
description = "Automated SQLite and system config backup bundles"
|
|
enable_recycle_bin = true
|
|
}
|
|
|
|
# 4. Media Shared Folder
|
|
resource "synology_filestation_share" "media" {
|
|
name = "media"
|
|
vol_path = "/volume1"
|
|
description = "Media and storage pool"
|
|
enable_recycle_bin = false
|
|
}
|