All Modules
AzureDatabase
Redis Cache
Azure Cache for Redis with TLS, private endpoint, and VNet integration
Usage
module "redis_cache" {
source = "github.com/fencepencil/fencepencil-azure-modules//redis-cache"
name_prefix = "<name_prefix>"
environment = "<environment>"
resource_group_name = "<resource_group_name>"
location = "<location>"
tags = var.tags
}Inputs (7)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
name_prefix | string | Prefix for resource naming | — | yes |
environment | string | Deployment environment | — | yes |
resource_group_name | string | Resource group name | — | yes |
location | string | Azure region | — | yes |
sku_name | string | SKU (Basic, Standard, Premium) | Standard | no |
capacity | number | Cache size | 1 | no |
enable_private_endpoint | bool | Enable private endpoint | false | no |
Outputs (3)
| Name | Description |
|---|---|
cache_id | ID of the Redis cache |
hostname | Hostname of the Redis cache |
ssl_port | SSL port of the Redis cache |