generated from Azure/terraform-azurerm-avm-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.database.tf
18 lines (15 loc) · 808 Bytes
/
main.database.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module "database" {
source = "./modules/database"
for_each = var.databases
redis_cache = { resource_id = azapi_resource.redis_enterprise.id }
access_keys_authentication = try(each.value.access_keys_authentication, null)
client_protocol = try(each.value.client_protocol, null)
clustering_policy = try(each.value.clustering_policy, null)
defer_upgrade = try(each.value.defer_upgrade, null)
eviction_policy = try(each.value.eviction_policy, null)
port = try(each.value.port, null)
geo_replication = try(each.value.geo_replication, null)
modules = try(each.value.modules, null)
persistence = try(each.value.persistence, null)
timeouts = try(each.value.timeouts, null)
}