cloudposse / terraform-aws-elasticache-redis

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

Add auth_token_update_strategy option #55

Closed karlismelderis closed 3 months ago

karlismelderis commented 4 years ago

Currently, any auth_token changes are destroying and are recreating Redis cluster.

AWS API has option to set new token and chose update strategy: SET or ROTATE

https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_ModifyCacheCluster.html

Routhinator commented 3 years ago

This is a pretty key feature, FWIW. Security token cycling is something that should be able to be done frequently and with minimal disruption.... replacing the cluster adds a lot of overhead.

Nuru commented 2 years ago

This is blocked by https://github.com/hashicorp/terraform-provider-aws/issues/11524

Steve-Louie-Bose commented 1 year ago

Looks like it's supported now. https://github.com/hashicorp/terraform-provider-aws/pull/16203