You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
It seems that this module lacks support for cloud function max_instances argument, though the underlying event-function module seems to support it.
Adding this would protect users against unlimited scaling in case of pubsub malfunction (e.g. constant failing to acknowledge message and redelivering it, which might result in increasing number of cloud function instances)
Terraform Resources
No response
Detailed design
main.tf:
...
module "main" {
...
max_instances = var.function_max_instances
...
}
...
variables.tf:
...
variable "function_max_intances" {
type = number
default = 0
description = "The maximum number of parallel executions of the function."
}
...
Additional information
If you are ok with this proposal, I'll be happy to contribute code :)
The text was updated successfully, but these errors were encountered:
TL;DR
Hi,
It seems that this module lacks support for cloud function max_instances argument, though the underlying event-function module seems to support it.
Adding this would protect users against unlimited scaling in case of pubsub malfunction (e.g. constant failing to acknowledge message and redelivering it, which might result in increasing number of cloud function instances)
Terraform Resources
No response
Detailed design
Additional information
If you are ok with this proposal, I'll be happy to contribute code :)
The text was updated successfully, but these errors were encountered: