feat: Implement MariaDB and backup job modules with configuration and secrets management

This commit is contained in:
2025-04-27 19:12:07 +02:00
parent 761c183ce2
commit 654cf500f9
14 changed files with 5 additions and 74 deletions
@@ -0,0 +1,70 @@
variable "bucket_name" {
description = "Backup bucket name"
type = string
}
variable "namespace" {
description = "Namespace"
type = string
}
variable "scaleway_project_id" {
description = "Scaleway project id"
sensitive = true
type = string
}
variable "scaleway_organization_id" {
description = "Scaleway organization id"
sensitive = true
type = string
}
variable "scaleway_region" {
description = "Scaleway region"
default = "fr-par"
type = string
}
variable "scaleway_zone" {
default = "fr-par-2"
type = string
}
variable "cron_schedule" {
description = "Cronjob schedule for data backups"
default = "* 2 * * *"
type = string
}
variable "access_key" {
description = "Access key"
sensitive = true
type = string
}
variable "secret_key" {
description = "Secret key"
sensitive = true
type = string
}
variable "app_name" {
description = "Name of the app to backup"
type = string
}
variable "source_folder" {
description = "Name of host folder"
type = string
}
variable "target_folder" {
description = "Backup source location"
type = string
}
variable "retention_days" {
description = "backup retention days"
type = string
}