cloudposse / terraform-aws-elasticache-redis

Terraform module to provision an ElastiCache Redis Cluster
https://cloudposse.com/accelerate
Apache License 2.0
141 stars 246 forks source link

Option to set auto_minor_version_upgrade parameter #182

Closed LieneJansone closed 1 year ago

LieneJansone commented 1 year ago

Describe the Bug

The module is missing option to disable Auto upgrade minor versions with the available auto_minor_version_upgrade argument.

I've seen the previously created issues on this (https://github.com/cloudposse/terraform-aws-elasticache-redis/issues/117, https://github.com/cloudposse/terraform-aws-elasticache-redis/issues/70), which were raised when the parameter was not editable from API, which is no longer the case, based on the API documentation

The argument worker for versions 6+.

By default, the value is true, so it would be great if there would be an option to change that.

Expected Behavior

Use this module to create redis cluster with Auto upgrade minor versions option disabled.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create cluster using this module
  2. Cluster is created with Auto upgrade minor versions enabled

    • Terraform version: 1.2.9
    • Terraform AWS provider version 4.36.1
    • Module version 0.46.0

Thank you for creating and maintaining this module ❤️