From d6cad642cea7242fde12a65014dcecb2affb8323 Mon Sep 17 00:00:00 2001 From: Byungjin Park Date: Wed, 12 Oct 2022 11:44:59 +0900 Subject: [PATCH] Fix conflict on user_groups property --- modules/elasticache-redis-cluster/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/elasticache-redis-cluster/main.tf b/modules/elasticache-redis-cluster/main.tf index 1cf5076..1649bbb 100644 --- a/modules/elasticache-redis-cluster/main.tf +++ b/modules/elasticache-redis-cluster/main.tf @@ -1,6 +1,6 @@ locals { metadata = { - package = "terraform-aws-ec2" + package = "terraform-aws-db" version = trimspace(file("${path.module}/../../VERSION")) module = basename(path.module) name = var.name @@ -120,7 +120,7 @@ resource "aws_elasticache_replication_group" "this" { ## Auth auth_token = length(var.password) > 0 ? var.password : null - user_group_ids = var.user_groups + user_group_ids = length(var.user_groups) > 0 ? var.user_groups : null ## Encryption