redis

claranet/redis/azurerm

Terraform Module HCL AZURERM

Terraform module for Azure Redis

Install
module "redis" {
source = "claranet/redis/azurerm"
version = "8.1.3"
}
plain text: /constructs/tfmod-claranet-redis-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

Azure Redis Cache ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![OpenTofu Registry](https://search.opentofu.org/module/claranet/redis/azurerm/) This Terraform module creates a Redis Cache instance along with firewall rules. No logging is available from this resource. The default configuration is an highly available cluster of 3 shards and data persistence enabled on the Premium tier. Global versioning rule for Claranet Azure modules | Module version | Terraform version | OpenTofu version | AzureRM version | | -------------- | ----------------- | ---------------- | --------------- | | >= 8.x.x | Unverified | 1.8.x | >= 4.0 | | >= 7.x.x | 1.3.x | | >= 3.0 | | >= 6.x.x | 1.x | | >= 3.0 | | >= 5.x.x | 0.15.x | | >= 2.0 | | >= 4.x.x | 0.13.x / 0.14.x | | >= 2.0 | |

Inputs (34)
NameTypeDescriptionDefault
locationstringAzure location. required
location_shortstringShort string for Azure location. required
client_namestringClient name/account used in naming. required
stackstringProject stack name. required
resource_group_namestringResource group name. required
logs_destinations_idslist(string)List of destination resources IDs for logs diagnostic destination. Can be `Stora required
environmentstringProject environment. required
logs_categorieslist(string)Log categories to send to destinations.null
capacitynumberRedis size: (Basic/Standard: 1,2,3,4,5,6) (Premium: 1,2,3,4) [documentation](ht2
sku_namestringRedis Cache Sku name. Can be Basic, Standard or Premium."Premium"
data_persistence_max_snapshot_countnumberMax number of data persistence snapshots.null
data_persistence_storage_custom_namestringCustom name for the Storage Account used for Redis data persistence.""
public_network_access_enabledboolWhether the Azure Redis Cache is available from public network.false
data_persistence_storage_account_tierstringReplication type for the Storage Account used for data persistence."Premium"
zoneslist(number)A list of a one or more Availability Zones, where the Redis Cache should be allonull
name_prefixstringOptional prefix for the generated name""
subnet_idstringThe ID of the Subnet within which the Redis Cache should be deployed. Changing tnull
extra_tagsmap(string)Additional tags to associate.{}
data_persistence_frequency_in_minutesnumberData persistence snapshot frequency in minutes.60
logs_metrics_categorieslist(string)Metrics categories to send to destinations.null
custom_namestringCustom name of Redis Server""
cluster_shard_countnumberNumber of cluster shards desired.3
redis_versionnumberRedis version to deploy. Allowed value is only 6 for new instances since v4 depr6
private_static_ip_addressstringThe Static IP Address to assign to the Redis Cache when hosted inside the Virtuanull
minimum_tls_versionstringThe minimum TLS version."1.2"
data_persistence_enabledbool"true" to enable data persistence.true
name_suffixstringOptional suffix for the generated name""
Outputs (18)
secondary_access_key — Redis instance secondary access key.
family — Redis instance family.
configuration — Redis instance configuration.
resource_storage — Redis storage account outputs.
hostname — Redis instance hostname.
private_static_ip_address — Redis instance private static IP address.
sku_name — Redis instance SKU name.
primary_connection_string — The primary connection string of the Redis instance.
terraform_module — Information about this Terraform module.
resource — Redis instance object.
id — Redis instance id.
ssl_port — Redis instance SSL port.
primary_access_key — Redis instance primary access key.
module_diagnostics — Diagnostics settings module outputs.
name — Redis instance name.
port — Redis instance port.
capacity — Redis instance capacity.
secondary_connection_string — The secondary connection string of the Redis instance.
Resources (3)
azurerm_redis_cacheazurerm_redis_firewall_ruleazurerm_storage_account
Details
FrameworkTerraform Module
LanguageHCL
Version8.1.3
Cloud AZURERM
★ Stars5
Forks14
Total downloads44.7k
Inputs34
Outputs18
Resources3
Examples1
LicenseApache-2.0
Namespaceclaranet
Updated