Data Source: azurerm_redis_enterprise_database

Use this data source to access information about an existing Redis Enterprise Database

Example Usage

data "azurerm_redis_enterprise_database" "example" {
  name                = "default"
  resource_group_name = azurerm_resource_group.example.name
  cluster_id          = azurerm_redis_enterprise_cluster.example.id
}

output "redis_enterprise_database_primary_key" {
  value       = data.azurerm_redis_enterprise_database.example.primary_access_key
  description = "The Redis Enterprise DB primary key."
}

output "redis_enterprise_database_secondary_key" {
  value       = data.azurerm_redis_enterprise_database.example.secondary_access_key
  description = "The Redis Enterprise DB secondary key."
}

Argument Reference

Attributes Reference


Timeouts

The timeouts block allows you to specify timeouts for certain actions: