Skip to content

Commit 35c2aca

Browse files
authored
Update main.tf (#261)
1 parent 42f9bb4 commit 35c2aca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ resource "aws_elasticache_replication_group" "default" {
163163
count = local.create_normal_instance ? 1 : 0
164164

165165
auth_token = var.transit_encryption_enabled ? var.auth_token : null
166-
auth_token_update_strategy = var.auth_token_update_strategy
166+
auth_token_update_strategy = var.auth_token != null ? var.auth_token_update_strategy : null
167167
replication_group_id = var.replication_group_id == "" ? module.this.id : var.replication_group_id
168168
description = coalesce(var.description, module.this.id)
169169
node_type = local.instance_type

0 commit comments

Comments
 (0)