-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
53 lines (46 loc) · 1.67 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
# List of variables that the user would need to change
# The names of the existing RDS instances
variable "mz_rds_instance_details" {
description = "List of objects containing RDS instance names and their corresponding unique listener ports"
type = list(object({
name = string
listener_port = number
}))
}
# The name of the NLB to be created
variable "mz_nlb_name" {
description = "The name of the NLB to be created"
type = string
default = "mz-rds-lb"
}
# The VPC ID of the existing RDS instance
variable "mz_rds_vpc_id" {
description = "The VPC ID of the existing RDS instance"
type = string
}
# Endpoint Service Acceptance Required (true/false)
variable "mz_acceptance_required" {
description = "Endpoint Service Manual Acceptance Required (true/false)"
default = false
type = bool
}
# Schedule expression for how often to run the Lambda function
variable "schedule_expression" {
description = "Schedule expression for how often to run the Lambda function"
type = string
default = "rate(5 minutes)"
}
# Enable cross zone load balancing
variable "cross_zone_load_balancing" {
description = "Enables cross zone load balancing for the NLB"
type = bool
default = true
}
# For cross-region access, add the regions to the list where you want to connect to your RDS cluster from.
# For example, the region where your Materialize environment is deployed.
# Empty list means only same-region access is allowed.
variable "mz_supported_regions" {
description = "The set of regions that will be allowed to create a privatelink connection to the RDS cluster."
type = list(string)
default = []
}