58fb1ea167
- Deleted the websites module from the Terraform configuration. - Introduced a new m3uproxy module with resources for Kubernetes namespace, secrets, config maps, deployments, services, and cron jobs. - Added configuration files for m3uproxy, including JSON and playlist resources. - Created a new nginx module with resources for Kubernetes namespace, services, config maps, deployments, and ingress. - Added necessary variables for both m3uproxy and nginx modules. - Updated provider configurations for m3uproxy and nginx modules to specify required versions.
24 lines
509 B
Terraform
24 lines
509 B
Terraform
variable "persistent_folder" {
|
|
description = "The path to the persistent folder"
|
|
type = string
|
|
}
|
|
|
|
variable "primary_domain" {
|
|
description = "The primary domain for the websites"
|
|
type = string
|
|
}
|
|
|
|
variable "tag" {
|
|
description = "The version of the websites to install"
|
|
type = string
|
|
default = "stable-alpine"
|
|
}
|
|
|
|
variable "websites" {
|
|
description = "A list of websites to be deployed"
|
|
type = map(object({
|
|
domain_name = string
|
|
fqdn = list(string)
|
|
}))
|
|
}
|