generated from opsd-io/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
63 lines (53 loc) · 1.72 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
variable "name" {
description = "The Load Balancer name."
type = string
}
variable "region" {
description = "The region to start in."
type = string
}
variable "size" {
description = "The size of the Load Balancer. It must be either lb-small, lb-medium, or lb-large. Defaults to lb-small. Only one of size or size_unit may be provided."
type = string
default = "lb-small"
}
variable "size_unit" {
description = "The size of the Load Balancer. It must be in the range (1, 100). Defaults to 1. Only one of size or size_unit may be provided."
type = number
default = 1
}
variable "vpc_uuid" {
description = "The ID of the VPC where the load balancer will be located."
type = string
default = null
}
variable "forwarding_rules" {
description = "List of objects for forwarding_rule."
type = list(any)
default = []
}
variable "droplet_ids" {
description = "A list of the IDs of each droplet to be attached to the Load Balancer."
type = list(string)
default = []
}
variable "droplet_tag" {
description = "The name of a Droplet tag corresponding to Droplets to be assigned to the Load Balancer."
type = string
default = null
}
variable "healthcheck" {
type = list(any)
default = []
description = "List of objects that represent the configuration of each healthcheck."
}
variable "firewall_allow" {
description = "List of objects that represent the configuration of firewall allow variables."
type = list(string)
default = []
}
variable "firewall_deny" {
description = "List of objects that represent the configuration of firewall deny variables."
type = list(string)
default = []
}