| Name | Version |
|---|---|
| terraform | >= 1.6.3 |
| azurerm | 4.46.0 |
| Name | Version |
|---|---|
| azurerm | 4.46.0 |
No modules.
| Name | Type |
|---|---|
| azurerm_redis_cache.main | resource |
| azurerm_client_config.current | data source |
| azurerm_resource_group.rg | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| default_tags | A mapping of tags to assign to the resource. | map(any) | n/a | yes |
| environment | Var used for backend container name key. | string | "dev" | no |
| redis_cache_capacity | The size of the Redis cache to deploy. Valid values for a SKU family of C (Basic/Standard) are 0, 1, 2, 3, 4, 5, 6, and for P (Premium) family are 1, 2, 3, 4 | string | "2" | no |
| redis_cache_enable_non_ssl_port | Enable the non-SSL port (6379) - disabled by default. | string | "false" | no |
| redis_cache_family | The SKU family/pricing group to use. Valid values are C (for Basic/Standard SKU family) and P (for Premium) | string | "C" | no |
| redis_cache_maxmemory_delta | The max-memory delta for this Redis instance. | string | "2" | no |
| redis_cache_maxmemory_policy | How Redis will select what to remove when maxmemory is reached. | string | "allkeys-lru" | no |
| redis_cache_maxmemory_reserved | The value in megabytes reserved for non-cache usage e.g. failover | string | "10" | no |
| redis_cache_minimum_tls_version | The minimum TLS version. Defaults to 1.0. | string | "1.2" | no |
| redis_cache_name | The name of the Redis instance. Changing this forces a new resource to be created. | string | n/a | yes |
| redis_cache_tier | The SKU of Redis to use. Possible values are Basic, Standard and Premium. | string | "Standard" | no |
| region | Region in which resources are deployed. | string | "weu" | no |
| resource_group_location | Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. | string | "West Europe" | no |
| resource_group_name | The name of the resource group in which to create the Redis instance. Changing this forces a new resource to be created. | string | n/a | yes |
| Name | Description |
|---|---|
| hostname | The Hostname of the Redis Instance |
| id | The Route ID. |
| redis_cache_port | The non-SSL Port of the Redis Instance |
| redis_cache_primary_access_key | The Primary Access Key for the Redis Instance |
| redis_cache_primary_connection_string | The primary connection string of the Redis Instance. |
| redis_cache_secondary_access_key | The Secondary Access Key for the Redis Instance |
| redis_cache_secondary_connection_string | The secondary connection string of the Redis Instance. |
| redis_cache_ssl_port | The SSL Port of the Redis Instance |