terraform-aws-redis-elasticache
terraform-aws-redis-elasticache copied to clipboard
Include cache-identifier as part of the cloudwatch alarm name
Having multilpe redis instances used by different groups and all of them end up using the same cloudwatch alarm (alarm${var.environment}CacheCluster00${count.index + 1}CPUUtilization), overwriting the cluster-id only.
This can be fixed by adding the cache-identifier variable to the alarm name.