File tree 3 files changed +8
-0
lines changed
3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ Then perform the following commands on the root folder:
46
46
| function\_ environment\_ variables | A set of key/value environment variable pairs to assign to the function. | ` map(string) ` | ` {} ` | no |
47
47
| function\_ event\_ trigger\_ failure\_ policy\_ retry | A toggle to determine if the function should be retried on failure. | ` bool ` | ` false ` | no |
48
48
| function\_ labels | A set of key/value label pairs to assign to the function. | ` map(string) ` | ` {} ` | no |
49
+ | function\_ max\_ instances | The maximum number of parallel executions of the function. | ` number ` | ` 0 ` | no |
49
50
| function\_ name | The name to apply to the function | ` string ` | n/a | yes |
50
51
| function\_ runtime | The runtime in which the function will be executed. | ` string ` | ` "nodejs10" ` | no |
51
52
| function\_ service\_ account\_ email | The service account to run the function as. | ` string ` | ` "" ` | no |
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ module "main" {
83
83
labels = var. function_labels
84
84
service_account_email = var. function_service_account_email
85
85
timeout_s = var. function_timeout_s
86
+ max_instances = var. function_max_instances
86
87
vpc_connector = var. vpc_connector
87
88
vpc_connector_egress_settings = var. vpc_connector_egress_settings
88
89
}
Original file line number Diff line number Diff line change @@ -110,6 +110,12 @@ variable "function_service_account_email" {
110
110
description = " The service account to run the function as."
111
111
}
112
112
113
+ variable "function_max_instances" {
114
+ type = number
115
+ default = 0
116
+ description = " The maximum number of parallel executions of the function."
117
+ }
118
+
113
119
variable "vpc_connector" {
114
120
type = string
115
121
default = null
You can’t perform that action at this time.
0 commit comments