generated from clowdhaus/terraform-aws-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathvariables.tf
91 lines (75 loc) · 2.7 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
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
variable "create" {
description = "Controls if resources should be created (affects nearly all resources)"
type = bool
default = true
}
variable "tags" {
description = "A map of tags to add to all resources"
type = map(string)
default = {}
}
################################################################################
# Accelerator
################################################################################
variable "name" {
description = "The name of the accelerator"
type = string
default = ""
}
variable "ip_address_type" {
description = "The value for the address type. Defaults to `IPV4`. Valid values: `IPV4`, `DUAL_STACK`"
type = string
default = "IPV4"
}
variable "ip_addresses" {
description = "The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses"
type = list(string)
default = []
}
variable "enabled" {
description = "Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`"
type = bool
default = true
}
variable "flow_logs_enabled" {
description = "Indicates whether flow logs are enabled. Defaults to `false`"
type = bool
default = false
}
variable "flow_logs_s3_bucket" {
description = "The name of the Amazon S3 bucket for the flow logs. Required if `flow_logs_enabled` is `true`"
type = string
default = null
}
variable "flow_logs_s3_prefix" {
description = "The prefix for the location in the Amazon S3 bucket for the flow logs. Required if `flow_logs_enabled` is `true`"
type = string
default = null
}
################################################################################
# Listener(s)
################################################################################
variable "create_listeners" {
description = "Controls if listeners should be created (affects only listeners)"
type = bool
default = true
}
variable "listeners" {
description = "A map of listener defintions to create"
type = any
default = {}
}
variable "listeners_timeouts" {
description = "Create, update, and delete timeout configurations for the listeners"
type = map(string)
default = {}
}
################################################################################
# Endpoint Group(s)
################################################################################
# Endpoint groups are nested with the listener definition
variable "endpoint_groups_timeouts" {
description = "Create, update, and delete timeout configurations for the endpoint groups"
type = map(string)
default = {}
}