You must be logged in to view saved presets
Sets up a serverless Redis cache with defined storage and compute limits, daily snapshot settings, and security configurations.
resource "aws_elasticache_serverless_cache" "example" {
cache_usage_limits {
data_storage {
maximum = 10
unit = "GB"
}
ecpu_per_second {
maximum = 5000
}
}
daily_snapshot_time = "09:00"
description = "Test Server"
engine = "redis"
kms_key_id = "aws_kms_key.test.arn"
major_engine_version = "7"
name = "example"
security_group_ids = ["aws_security_group.test.id"]
snapshot_retention_limit = 1
subnet_ids = aws_subnet.test[*].id
}