You must be logged in to view saved presets
Creates an ElastiCache user and a user group for Redis engine with specific access permissions.
resource "aws_elasticache_user" "test" {
access_string = "on ~app::* -@all +@read +@hash +@bitmap +@geo -setbit -bitfield -hset -hsetnx -hmset -hincrby -hincrbyfloat -hdel -bitop -geoadd -georadius -georadiusbymember"
engine = "REDIS"
passwords = ["password123456789"]
user_id = "testUserId"
user_name = "default"
}
resource "aws_elasticache_user_group" "test" {
engine = "REDIS"
user_group_id = "userGroupId"
user_ids = [aws_elasticache_user.test.user_id]
}