We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42f9bb4 commit 35c2acaCopy full SHA for 35c2aca
main.tf
@@ -163,7 +163,7 @@ resource "aws_elasticache_replication_group" "default" {
163
count = local.create_normal_instance ? 1 : 0
164
165
auth_token = var.transit_encryption_enabled ? var.auth_token : null
166
- auth_token_update_strategy = var.auth_token_update_strategy
+ auth_token_update_strategy = var.auth_token != null ? var.auth_token_update_strategy : null
167
replication_group_id = var.replication_group_id == "" ? module.this.id : var.replication_group_id
168
description = coalesce(var.description, module.this.id)
169
node_type = local.instance_type
0 commit comments