redis

dasmeta/redis/azure

Terraform Module HCL AZURE

Terraform modules from DasMeta to manage Azure Redis and related resources

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

This module creates Redis Cache in Microsoft Azure. It enables connecting to the Redis instance with Private Endpoint. Usage `` resource "azurerm_resource_group" "redis_rg" { name = "redis_tf_rg" location = "North Europe" } module "redis" { source = ".../redis" location = azurerm_resource_group.redis_rg.location resource_group_name = azurerm_resource_group.redis_rg.name record_name = "test-record" records = ["11.0.1.5"] private_dns_zone_name = "test.redis.cache.windows.net" vnet_link_name = "test-link" private_endpoint_name = "test-endp-1" nic_name = "test-endp-1-nic" redis_cache_name = "test-redis-server" subnet_id = module.network.vnet_subnets[0] vnet_id = module.network.vnet_id ip_config_name = "test-config.sddsd-1bb-b40f-c3fd74fc3e5f" } ``

Inputs (18)
NameTypeDescriptionDefault
private_dns_zone_namestringThe name of the Private DNS Zone. required
locationstringThe location of the resource group. required
vnet_idstringThe ID of the Virtual Network that should be linked to the DNS Zone. required
ip_config_namestringA name used for this IP Configuration. required
subnet_idstringThe ID of the Subnet required
resource_group_namestringThe name of the resource group. required
recordslist(string)List of IPv4 Addresses. required
capacitynumber The size of the Redis cache to deploy.0
redis_cache_namestringThe name of the Redis instance. "redis-server"
sku_namestringThe SKU of Redis to use. "Basic"
record_namestringThe name of the DNS A Record."test-a-record"
private_endpoint_namestringSpecifies the Name of the Private Endpoint."test-endp"
ttlnumberThe Time To Live (TTL) of the DNS record in seconds.10
redis_configurationmap(bool)aluaof_backup_enabled - Enable or disable AOF persistence for this Redis Cache. { "aof_backup_enabled": false, "enab
vnet_link_namestringThe name of the Private DNS Zone Virtual Network Link."test-vnet-link"
familystringThe SKU family/pricing group to use."C"
nic_namestringThe name of the Network Interface."test-endp-nic"
public_network_access_enabledboolWhether or not public network access is allowed for this Redis Cache.false
Outputs (1)
redis_id — The ID of Redis instance
Resources (6)
azurerm_network_interfaceazurerm_private_dns_a_recordazurerm_private_dns_zoneazurerm_private_dns_zone_virtual_network_linkazurerm_private_endpointazurerm_redis_cache
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.1
Cloud AZURE
★ Stars0
Forks0
Total downloads3.5k
Inputs18
Outputs1
Resources6
LicenseApache-2.0
Namespacedasmeta
Updated