Skip to content

Timeout Input Variable #275

@muali14

Description

@muali14

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions