Initial terraform code

This commit is contained in:
2024-09-24 15:28:19 +02:00
parent f445996797
commit 78ce7b2485
30 changed files with 3432 additions and 0 deletions
@@ -0,0 +1,52 @@
variable "namespace" {
description = "namespace"
sensitive = false
type = string
}
variable "app_name" {
description = "database name"
sensitive = false
type = string
}
variable "root_password" {
description = "root password"
sensitive = true
type = string
}
variable "app_password" {
description = "user password"
sensitive = true
type = string
}
variable "host_storage_path" {
description = "host storage path"
default = "/srv"
type = string
}
variable "cron_schedule" {
description = "Cronjob schedule for data backups"
default = "* 2 * * *"
type = string
}
variable "retention_days" {
description = "Backup retention days"
default = 14
type = number
}
variable "current_version" {
description = "version"
default = "10.7.8"
type = string
}
variable "app_backup_folder" {
description = "Backup source location"
type = string
}