-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
86 lines (73 loc) · 2.4 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
variable "cloudwatch_log_group_retention_in_days" {
type = number
default = 60
description = "Number of days to retain Cloudwatch logs."
}
variable "ecs_cluster_container_insights_enabled" {
type = bool
default = true
description = "Whether or not Container Insights should be enabled."
}
variable "subnet_ids" {
type = list(string)
default = []
description = "List of subnet IDs for the Load Balancer. The Load Balancer will be created in the VPC associated with the subnet IDs."
}
variable "alb_enabled" {
type = bool
default = true
description = <<-EOT
Set to false to prevent the module from creating an Application Load Balancer.
This setting defaults to false if `alb_arn` is specified.
EOT
}
variable "alb_arn" {
type = string
default = ""
description = "Set if you want to use an existing Application Load Balancer."
}
variable "alb_internal" {
type = bool
default = false
description = "Set to `true` to make the ALB internal."
}
variable "alb_ip_address_type" {
type = string
default = null
description = "Address type for ALB possible. Specify one of `ipv4`, `dualstack`. Only when `alb_enabled = true`."
}
variable "alb_access_logs_prefix" {
type = string
default = ""
description = "Prefix for ALB access logs."
}
variable "alb_access_logs_enabled" {
type = bool
default = true
description = "Whether or not ALB access logs should be enabled."
}
variable "alb_access_logs_force_destroy" {
type = bool
default = true
description = "Whether or not force destroy option should be enabled for the ALB access logs Bucket."
}
variable "alb_dns_aliases" {
type = list(string)
default = []
description = "List of custom domain name aliases for ALB."
}
variable "parent_zone_id" {
type = string
default = null
description = "ID of the hosted zone to contain this record (or specify `parent_zone_name`). Requires `dns_alias_enabled` set to true."
}
variable "parent_zone_name" {
type = string
default = null
description = "Name of the hosted zone to contain this record (or specify `parent_zone_id`). Requires `dns_alias_enabled` set to true."
}
variable "logs_kms_key_arn" {
type = string
default = ""
description = "ARN of the KMS key for CloudWatch encryption, if blank, one will be created."
}