forked from antonbabenko/modules.tf-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalb_variables.json
More file actions
122 lines (122 loc) · 4.72 KB
/
alb_variables.json
File metadata and controls
122 lines (122 loc) · 4.72 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"access_logs": {
"default": {},
"description": "Map containing access logging configuration for load balancer.",
"type": "map(string)"
},
"create_lb": {
"default": true,
"description": "Controls if the Load Balancer should be created",
"type": "bool"
},
"enable_cross_zone_load_balancing": {
"default": false,
"description": "Indicates whether cross zone load balancing should be enabled in application load balancers.",
"type": "bool"
},
"enable_deletion_protection": {
"default": false,
"description": "If true, deletion of the load balancer will be disabled via the AWS API. This will prevent Terraform from deleting the load balancer. Defaults to false.",
"type": "bool"
},
"enable_http2": {
"default": true,
"description": "Indicates whether HTTP/2 is enabled in application load balancers.",
"type": "bool"
},
"extra_ssl_certs": {
"default": [],
"description": "A list of maps describing any extra SSL certificates to apply to the HTTPS listeners. Required key/values: certificate_arn, https_listener_index (the index of the listener within https_listeners which the cert applies toward).",
"type": "list(map(string))"
},
"http_tcp_listeners": {
"default": [],
"description": "A list of maps describing the HTTP listeners or TCP ports for this ALB. Required key/values: port, protocol. Optional key/values: target_group_index (defaults to http_tcp_listeners[count.index])",
"type": "list(map(string))"
},
"https_listeners": {
"default": [],
"description": "A list of maps describing the HTTPS listeners for this ALB. Required key/values: port, certificate_arn. Optional key/values: ssl_policy (defaults to ELBSecurityPolicy-2016-08), target_group_index (defaults to https_listeners[count.index])",
"type": "list(map(string))"
},
"idle_timeout": {
"default": 60,
"description": "The time in seconds that the connection is allowed to be idle.",
"type": "number"
},
"internal": {
"default": false,
"description": "Boolean determining if the load balancer is internal or externally facing.",
"type": "bool"
},
"ip_address_type": {
"default": "ipv4",
"description": "The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 and dualstack.",
"type": "string"
},
"listener_ssl_policy_default": {
"default": "ELBSecurityPolicy-2016-08",
"description": "The security policy if using HTTPS externally on the load balancer. [See](https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-policy-table.html).",
"type": "string"
},
"load_balancer_create_timeout": {
"default": "10m",
"description": "Timeout value when creating the ALB.",
"type": "string"
},
"load_balancer_delete_timeout": {
"default": "10m",
"description": "Timeout value when deleting the ALB.",
"type": "string"
},
"load_balancer_type": {
"default": "application",
"description": "The type of load balancer to create. Possible values are application or network.",
"type": "string"
},
"load_balancer_update_timeout": {
"default": "10m",
"description": "Timeout value when updating the ALB.",
"type": "string"
},
"name": {
"default": "null",
"description": "The resource name and Name tag of the load balancer.",
"type": "string"
},
"name_prefix": {
"default": "null",
"description": "The resource name prefix and Name tag of the load balancer.",
"type": "string"
},
"security_groups": {
"default": [],
"description": "The security groups to attach to the load balancer. e.g. [\"sg-edcd9784\",\"sg-edcd9785\"]",
"type": "list(string)"
},
"subnet_mapping": {
"default": [],
"description": "A list of subnet mapping blocks describing subnets to attach to network load balancer",
"type": "list(map(string))"
},
"subnets": {
"default": "null",
"description": "A list of subnets to associate with the load balancer. e.g. ['subnet-1a2b3c4d','subnet-1a2b3c4e','subnet-1a2b3c4f']",
"type": "list(string)"
},
"tags": {
"default": {},
"description": "A map of tags to add to all resources",
"type": "map(string)"
},
"target_groups": {
"default": [],
"description": "A list of maps containing key/value pairs that define the target groups to be created. Order of these maps is important and the index of these are to be referenced in listener definitions. Required key/values: name, backend_protocol, backend_port. Optional key/values are in the target_groups_defaults variable.",
"type": "any"
},
"vpc_id": {
"default": "null",
"description": "VPC id where the load balancer and other resources will be deployed.",
"type": "string"
}
}