Skip to content

Commit b296a4a

Browse files
authored
Support tags for elasticache-redis-user-group module (#5)
1 parent 7510672 commit b296a4a

File tree

1 file changed

+8
-0
lines changed
  • modules/elasticache-redis-user-group

1 file changed

+8
-0
lines changed

modules/elasticache-redis-user-group/main.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ resource "aws_elasticache_user_group" "this" {
2424
user_group_id = var.name
2525
user_ids = [var.default_user]
2626

27+
tags = merge(
28+
{
29+
"Name" = local.metadata.name
30+
},
31+
local.module_tags,
32+
var.tags,
33+
)
34+
2735
lifecycle {
2836
ignore_changes = [user_ids]
2937
}

0 commit comments

Comments
 (0)