826959c903
- Introduced Nextcloud module with Kubernetes resources including deployment, service, ingress, and cron job. - Configured Apache settings for Nextcloud with SSL support and compression. - Created secrets for mail and admin credentials. - Added necessary environment variables for Nextcloud configuration. - Removed unused Scaleway access and secret keys from secrets and variables. - Updated CoreDNS module to support custom host overrides. - Implemented backup bucket policies and lifecycle rules for Scaleway object storage. - Enhanced IAM policies and applications for backup and email services. - Added outputs for backup bucket and API keys.
39 lines
869 B
Terraform
39 lines
869 B
Terraform
variable "tag" {
|
|
description = "The version of app to install"
|
|
type = string
|
|
default = "latest"
|
|
}
|
|
|
|
variable "forward_dns_servers" {
|
|
description = "Forward DNS servers"
|
|
type = list(string)
|
|
default = ["8.8.8.8", "8.8.4.4"]
|
|
}
|
|
|
|
variable "override_hosts" {
|
|
description = "Override hosts"
|
|
type = list(object({
|
|
ip = string
|
|
name = string
|
|
}))
|
|
default = []
|
|
}
|
|
|
|
variable "zones" {
|
|
description = "Zones to be managed by coredns"
|
|
type = list(object({
|
|
fqdn = string
|
|
domain_master = optional(string, "admin")
|
|
refresh_rate = optional(number, 7200)
|
|
retry_rate = optional(number, 3600)
|
|
expire_time = optional(number, 1209600)
|
|
ttl = optional(number, 3600)
|
|
records = list(object({
|
|
name = string
|
|
type = string
|
|
content = string
|
|
}))
|
|
}))
|
|
default = []
|
|
}
|