-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
157 lines (131 loc) · 4.46 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
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
variable "alb_certificate_arn" {
description = "Required: Specify the ARN of a ACM Certificate to configure HTTPS."
type = string
}
variable "alb_ingress_cidr" {
description = "Required: VPC IPv4 CIDR block to restrict access to ALB."
type = string
}
variable "asg_desired_capacity" {
description = "Required: The desired capacity of the Auto Scaling Group."
type = number
default = 1
}
variable "asg_instance_type" {
description = "Required: The EC2 instance type for the application Auto Scaling Group."
type = string
default = "t3.xlarge"
}
variable "asg_key_name" {
description = "Optional: The EC2 key pair name for the instance."
type = string
default = ""
}
variable "asg_max_size" {
description = "Required: The maximum size of the Auto Scaling Group."
type = number
default = 2
}
variable "asg_min_size" {
description = "Required: The minimum size of the Auto Scaling Group."
type = number
default = 1
}
variable "asg_reprovision_string" {
description = "Optional: Changes to this parameter will force instance reprovision on the next CloudFormation update."
type = string
default = ""
}
variable "assets_bucket_name" {
type = string
default = ""
description = "Optional: Name of the S3 bucket to store uploaded assets. If not specified, a bucket will be created."
}
variable "custom_config_js_parameter_arn" {
type = string
default = ""
description = "Optional: ARN of SSM Parameter Store Secure String containing custom code to populate custom-config.js"
}
variable "custom_dot_env_parameter_arn" {
type = string
default = ""
description = "Optional: ARN of SSM Parameter Store Secure String containing custom config to append to the auto-generated .env"
}
variable "custom_interface_config_js_parameter_arn" {
type = string
default = ""
description = "Optional: ARN of SSM Parameter Store Secure String containing custom code to populate custom-interface-config.js"
}
variable "dns_hostname" {
type = string
description = "Required: The hostname to access the service."
}
variable "dns_route53_hosted_zone_name" {
type = string
description = "Required: Route 53 Hosted Zone name. Must already exist and match the domain part of the Hostname parameter, without trailing dot."
}
variable "jitsi_arn" {
type = string
default = ""
description = "Optional: Secrets Manager Secret ARN used to store Jitsi credentials. If not specified, a secret will be created."
}
variable "stack_name" {
type = string
description = "Name of the CloudFormation stack"
default = "oe-patterns-jitsi"
}
variable "vpc_cidr" {
type = string
default = "10.0.0.0/16"
description = "Optional: VPC IPv4 CIDR block if no VPC provided."
}
variable "vpc_id" {
type = string
description = "Optional: Specify the VPC ID. If not specified, a VPC will be created."
default = ""
}
variable "vpc_nat_gateway_per_subnet" {
type = string
default = false
description = "Optional: Set to 'true' to provision a NAT Gateway in each public subnet for AZ HA."
}
variable "vpc_private_subnet1_cidr" {
type = string
default = "10.0.128.0/18"
description = "Optional: VPC IPv4 CIDR block of private subnet 1 if no VPC provided."
}
variable "vpc_private_subnet1_id" {
type = string
default = ""
description = "Optional: Specify Subnet ID for private subnet 1."
}
variable "vpc_private_subnet2_cidr" {
type = string
default = "10.0.192.0/18"
description = "Optional: VPC IPv4 CIDR block of private subnet 2 if no VPC provided."
}
variable "vpc_private_subnet2_id" {
type = string
default = ""
description = "Optional: Specify Subnet ID for private subnet 2."
}
variable "vpc_public_subnet1_cidr" {
type = string
default = "10.0.0.0/18"
description = "Optional: VPC IPv4 CIDR block of public subnet 1 if no VPC provided."
}
variable "vpc_public_subnet1_id" {
type = string
default = ""
description = "Optional: Specify Subnet ID for public subnet 1."
}
variable "vpc_public_subnet2_cidr" {
type = string
default = "10.0.64.0/18"
description = "Optional: VPC IPv4 CIDR block of public subnet 2 if no VPC provided."
}
variable "vpc_public_subnet2_id" {
type = string
default = ""
description = "Optional: Specify Subnet ID for public subnet 2."
}