-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
68 lines (57 loc) · 1.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
variable "enabled" {
type = bool
default = true
description = "Defines whether this module should create resources"
}
variable "timeout" {
type = number
default = 30
description = "The amount of time your Lambda Function has to run in seconds"
}
variable "vpc_config" {
type = object({
vpc_id = string
subnet_ids = list(string)
security_group_ids = list(string)
})
description = "VPC configuration for Lambda function"
}
variable "create_database" {
type = bool
default = true
description = "Flag to create database or not"
}
variable "invoke" {
type = bool
default = true
description = "Defines whether lambda function should be invoked immediately after provisioning"
}
variable "lambda_name" {
type = string
description = "value of lambda name"
}
variable "rds_arn" {
type = string
description = "value of rds arn"
}
variable "rds_port" {
type = string
description = "value of rds port"
}
variable "rds_endpoint" {
type = string
description = "value of rds port"
}
variable "rds_user_secret_name" {
type = string
description = "value of rds user secret name"
}
variable "rds_master_user_secret_name" {
type = string
description = "values of rds master user secret name"
default = null
}
variable "rds_master_user_secret_arn" {
type = string
description = "values of rds master user secret arn"
}