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)

NameTypeDescriptionDefaultRequired
name_prefixstringPrefix for resource namingyes
environmentstringDeployment environmentyes
resource_group_namestringResource group nameyes
locationstringAzure regionyes
sku_namestringSKU (Basic, Standard, Premium)Standardno
capacitynumberCache size1no
enable_private_endpointboolEnable private endpointfalseno

Outputs (3)

NameDescription
cache_idID of the Redis cache
hostnameHostname of the Redis cache
ssl_portSSL port of the Redis cache

More Azure Modules

Browse our full library of Azure infrastructure modules.

View all Azure modules