You've already forked terraform-bunnynet
84 lines
1.8 KiB
HCL
84 lines
1.8 KiB
HCL
variable "name" {
|
|
type = string
|
|
default = "mirror-rznet"
|
|
description = "The name of the pullzone"
|
|
}
|
|
|
|
variable "domain" {
|
|
type = string
|
|
default = "mirror.rznet.fr"
|
|
description = "The domain name for the pullzone"
|
|
}
|
|
|
|
variable "origin" {
|
|
type = string
|
|
default = "https://rznet.fr"
|
|
description = "The origin URL"
|
|
}
|
|
|
|
variable "origin_host" {
|
|
type = string
|
|
default = "mirror.rznet.fr"
|
|
description = "The host header to send to the origin"
|
|
}
|
|
|
|
variable "origin_verify_ssl" {
|
|
type = bool
|
|
default = false
|
|
description = "Whether to verify SSL certificates for the origin"
|
|
}
|
|
|
|
variable "routing_tier" {
|
|
type = string
|
|
default = "Volume"
|
|
description = "The routing tier (Standard or Volume)"
|
|
}
|
|
|
|
variable "routing_zones" {
|
|
type = list(string)
|
|
default = []
|
|
description = "List of routing zones"
|
|
}
|
|
|
|
variable "block_post_requests" {
|
|
type = bool
|
|
default = true
|
|
description = "Whether to block POST requests"
|
|
}
|
|
|
|
variable "request_coalescing" {
|
|
type = bool
|
|
default = true
|
|
description = "Whether to enable request coalescing"
|
|
}
|
|
|
|
variable "cache_vary" {
|
|
type = list(string)
|
|
default = []
|
|
description = "List of cache vary options (avif, cookie, country, hostname, mobile, querystring, state, webp)"
|
|
}
|
|
|
|
variable "limit_download_speed" {
|
|
type = number
|
|
default = 62500
|
|
description = "Download speed limit in bytes per second"
|
|
}
|
|
|
|
variable "limit_bandwidth" {
|
|
type = number
|
|
default = 10000000000000
|
|
description = "Bandwidth limit in bytes"
|
|
}
|
|
|
|
variable "websockets_enabled" {
|
|
type = bool
|
|
default = false
|
|
description = "Whether WebSockets are enabled"
|
|
}
|
|
|
|
variable "certificate_vault" {
|
|
type = bool
|
|
default = true
|
|
description = "Whether to use Vault for certificate management"
|
|
}
|