# Required Parameters variable "hostname" { description = "Short name for the DNS entry." type = string } variable "subnets" { description = "Subnets for the alb. Should probably be one of var.public_subnets or var.private_subnets" type = list(string) } variable "target_count" { description = "Number of target servers." type = number } variable "target_servers" { description = "List of target server IDs" type = list(string) } variable "server_security_group" { description = "The security group on the server. This module will add rules to allow communication to/from the ALB" type = string } # Optional Parameters variable "server_port" { description = "Destination port on server for ALB" type = number default = 443 } variable "server_protocol" { description = "Destination protocol (HTTP/HTTPS)" type = string default = "HTTPS" } variable "health_check_path" { description = "Path for health check" type = string default = "/" } variable "inbound_cidrs" { description = "List of CIDRs allowed access." type = list(string) default = ["0.0.0.0/0"] } variable "sticky_sessions" { description = "True if you wish to use sticky session control." type = bool default = true } # Inherited Parameters variable "dns_info" { type = map(any) } variable "environment" { type = string } variable "tags" { type = map(any) } variable "vpc_id" { type = string }