-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
81 lines (65 loc) · 1.84 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
variable "env" {
}
variable "vpc_id" {
}
variable "public_subnet_ids" {
}
variable "project_name" {
}
variable "alb_name" {
}
variable "alb_ssl_cert_arn" {
}
variable "alb_listener_https_count" {
description = "Use alb_listener_default_https_arn as default target group on ALB"
default = true
}
variable "alb_listener_default_https_arn" {
description = "Default target group for HTTPS listener"
default = ""
}
variable "alb_listener_ssl_policy" {
description = "Default ssl policy for HTTPS listener"
default = "ELBSecurityPolicy-2016-08"
}
variable "alb_internal" {
description = "Set LB to be private or public"
default = false
}
variable "alb_enable_deletion_protection" {
description = "If true, deletion of the load balancer will be disabled via the AWS API. This will prevent Terraform from deleting the load balancer"
default = true
}
variable "alb_s3_access_log_bucket" {
description = "S3 bucket name to store ALB access logs"
default = ""
}
variable "alb_s3_access_log_enabled" {
description = "Boolean to enable / disable ALB access logs"
default = false
}
variable "alb_ingress_whitelist_ips" {
description = "List of IPs that ALB allows to connect to. Use comma to separate multiple IPs"
type = string
default = ""
}
variable "alb_ingress_source_security_group_ids" {
description = "List of source Security Group IDs that ALB allows to connect to. Use comma to separate multiple Ids"
type = list(string)
default = []
}
variable "tags" {
description = "Tagging resources with default values"
default = {
"Name" = ""
"Country" = ""
"Environment" = ""
"Repository" = ""
"Owner" = ""
"Department" = ""
"Team" = "shared"
"Product" = "common"
"Project" = "common"
"Stack" = ""
}
}