Skip to content

Commit b1e4ce8

Browse files
authored
Fix conflict on user_groups property (#2)
1 parent a3ff6f8 commit b1e4ce8

File tree

1 file changed

+2
-2
lines changed
  • modules/elasticache-redis-cluster

1 file changed

+2
-2
lines changed

modules/elasticache-redis-cluster/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
locals {
22
metadata = {
3-
package = "terraform-aws-ec2"
3+
package = "terraform-aws-db"
44
version = trimspace(file("${path.module}/../../VERSION"))
55
module = basename(path.module)
66
name = var.name
@@ -120,7 +120,7 @@ resource "aws_elasticache_replication_group" "this" {
120120

121121
## Auth
122122
auth_token = length(var.password) > 0 ? var.password : null
123-
user_group_ids = var.user_groups
123+
user_group_ids = length(var.user_groups) > 0 ? var.user_groups : null
124124

125125

126126
## Encryption

0 commit comments

Comments
 (0)