Terraform module to create an Azure Redis Cache
module "azurerm_redis_cache" {
source = "blackbird-cloud/redis-cache/azurerm"
version = "~> 1"
resource_group_name = "shared-tools"
resource_group_location = "westeurope"
redis_name = "example-redis"
sku_name = "Basic"
family = "C"
capacity = 1
redis_configuration = {
}
public_network_access_enabled = false
subnet_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/shared-tools/providers/Microsoft.Network/virtualNetworks/vnet/subnets/default"
}
Name | Version |
---|---|
terraform | >= 1.2 |
azurerm | ~> 3 |
Name | Version |
---|---|
azurerm | ~> 3 |
Name | Type |
---|---|
azurerm_redis_cache.default | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
capacity | The size of the Redis instance | number |
n/a | yes |
family | The family of the Redis instance | string |
n/a | yes |
public_network_access_enabled | Whether or not public network access is enabled for the Redis instance | bool |
true |
no |
redis_configuration | A map of Redis configuration settings | object({ |
n/a | yes |
redis_name | The name of the Redis instance | string |
n/a | yes |
resource_group_location | The location of the resource group | string |
n/a | yes |
resource_group_name | The name of the resource group | string |
n/a | yes |
sku_name | The SKU name of the Redis instance | string |
n/a | yes |
subnet_id | The ID of the subnet to place the Redis instance in | string |
n/a | yes |
Name | Description |
---|---|
redis_cache_host_name | The host name of the Redis Cache |
redis_cache_id | The ID of the Redis Cache |
redis_cache_name | The name of the Redis Cache |
redis_cache_port | The port of the Redis Cache |
redis_cache_primary_access_key | The primary access key of the Redis Cache |
redis_cache_primary_connection_string | The primary connection string of the Redis Cache |
redis_cache_secondary_access_key | The secondary access key of the Redis Cache |
redis_cache_secondary_connection_string | The secondary connection string of the Redis Cache |
redis_cache_ssl_port | The SSL port of the Redis Cache |
redis_configuration | The Redis configuration of the Redis Cache |
We are Blackbird Cloud, Amsterdam based cloud consultancy, and cloud management service provider. We help companies build secure, cost efficient, and scale-able solutions.
Checkout our other 👉 terraform modules
Copyright © 2017-2024 Blackbird Cloud