You must be logged in to view saved presets
Creates a serverless Memcached cache with specified resource limits, security settings, and associated with specific subnets.
resource "aws_elasticache_serverless_cache" "example" {
cache_usage_limits {
data_storage {
maximum = 10
unit = "GB"
}
ecpu_per_second {
maximum = 5000
}
}
description = "Test Server"
engine = "memcached"
kms_key_id = "aws_kms_key.test.arn"
major_engine_version = "1.6"
name = "example"
security_group_ids = ["aws_security_group.test.id"]
subnet_ids = aws_subnet.test[*].id
}