62 lines
1.4 KiB
Terraform
Raw Normal View History

variable "location" {
description = <<-EOT
Location of the infrastructure. Needs to be aligned with network zone.
For more information visit https://docs.hetzner.com/cloud/general/locations/
EOT
type = string
}
variable "lb_type" {
description = "Type of loadbalancer"
type = string
default = "lb11"
}
variable "lb_algorithm" {
description = "Type of the Load Balancer Algorithm. round_robin or least_connections"
type = string
default = "least_connections"
}
variable "domain" {
description = "Domain name of the load balancer"
type = string
default = "wordpress-jr.senecops.com"
}
variable "lb_external_ip" {
description = "IP address of the loadbalancer"
type = string
}
variable "lb_internal_ip" {
description = "Internal IP address of the loadbalancer"
type = string
}
2023-09-12 21:20:24 +02:00
variable "lb_service_id" {
description = "ID of the loadbalancer service to attach to"
type = number
}
variable "subnet_id" {
description = "ID of the subnetwork to attach the loadbalancer to"
type = string
}
2023-09-12 21:20:24 +02:00
variable "network_id" {
description = "ID of the network to attach the loadbalancer to"
type = string
}
variable "ssh_key_ids" {
description = "SSH key IDs to add to the loadbalancer server"
type = list(number)
}
variable "public_ipv4" {
description = ""
type = bool
default = false
}