forked from telia-oss/terraform-aws-loadbalancer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
46 lines (39 loc) · 1.17 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# ------------------------------------------------------------------------------
# Variables
# ------------------------------------------------------------------------------
variable "name_prefix" {
description = "A prefix used for naming resources."
type = string
}
variable "vpc_id" {
description = "The VPC ID."
type = string
}
variable "subnet_ids" {
description = "A list of subnet IDs to attach to the LB."
type = list(string)
}
variable "type" {
description = "Type of load balancer to provision (network or application)."
type = string
}
variable "internal" {
description = "Provision an internal load balancer. Defaults to false."
type = bool
default = false
}
variable "access_logs" {
description = "An Access Logs block."
type = map(string)
default = {}
}
variable "idle_timeout" {
description = "(Optional) The time in seconds that the connection is allowed to be idle. Only valid for Load Balancers of type application."
type = number
default = 60
}
variable "tags" {
description = "A map of tags (key-value pairs) passed to resources."
type = map(string)
default = {}
}