-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
95 lines (81 loc) · 2.01 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
variable "comment" {
description = "The comment for the function"
type = string
default = ""
}
variable "database" {
description = "The name of the database"
type = string
validation {
condition = can(regex("[^|]*", var.database))
error_message = "The database name must not contain a '|'."
}
}
variable "handler" {
description = "The handler for the function"
type = string
default = ""
}
variable "imports" {
description = "The imports for the function"
type = list(string)
default = []
}
variable "is_secure" {
description = "The security status of the function"
type = bool
default = false
}
variable "language" {
description = "The language of the function"
type = string
}
variable "name" {
description = "The name of the function"
type = string
validation {
condition = can(regex("[^|]*", var.name))
error_message = "The function name must not contain a '|'."
}
}
variable "null_input_behavior" {
description = "The null input behavior of the function"
type = string
default = ""
}
variable "packages" {
description = "The packages for the function"
type = list(string)
default = []
}
variable "return_behavior" {
description = "The return behavior of the function"
type = string
default = ""
}
variable "return_type" {
description = "The return type of the function"
type = string
}
variable "runtime_version" {
description = "The runtime version of the function"
type = string
default = ""
}
variable "schema" {
description = "The name of the schema"
type = string
validation {
condition = can(regex("[^|]*", var.schema))
error_message = "The schema name must not contain a '|'."
}
}
variable "statement" {
description = "The statement of the function"
type = string
}
variable "target_path" {
description = "The target path of the function"
type = string
default = ""
}