-
Notifications
You must be signed in to change notification settings - Fork 119
Description
I've used your Google Cloud Terrafrom Memorystore Module to create and update a simple memorystore on GCP. Unfortunately, when I run terraform apply
to update the memorystore's memory configuration( memory_size_gb
), I consistently get a timeout error after 20 minutes.
Could you add an input variable that allow users to configure timeout value to values higher than 20mins? Having that option should resolve the above timeout issue for users. Here is a similar input variable for the terraform Redis resource: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/redis_instance#timeouts
Ideally, I think the module should support something like this:
timeouts {
create = var.redis_timeouts.create
update = var.redis_timeouts.update
delete = var.redis_timeouts.delete
}
Steps to reproduce the timeout error: Deploy a memeorystore with memory_size_gb = 2
. Then, update the input var to memory_size_gb = 8
and run terraform apply
to reconfigure the memorystore.