diff --git a/avm/res/kusto/cluster/README.md b/avm/res/kusto/cluster/README.md index 49eff959d0..6268610b5d 100644 --- a/avm/res/kusto/cluster/README.md +++ b/avm/res/kusto/cluster/README.md @@ -2294,7 +2294,7 @@ The resource ID of the subnet to which to deploy the Kusto Cluster. | Output | Type | Description | | :-- | :-- | :-- | -| `kustoCluster_databases` | array | The databases of the kusto cluster. | +| `databases` | array | The databases of the kusto cluster. | | `location` | string | The location the resource was deployed into. | | `name` | string | The name of the kusto cluster. | | `privateEndpoints` | array | The private endpoints of the kusto cluster. | diff --git a/avm/res/kusto/cluster/main.bicep b/avm/res/kusto/cluster/main.bicep index 6766847d75..a24da68de4 100644 --- a/avm/res/kusto/cluster/main.bicep +++ b/avm/res/kusto/cluster/main.bicep @@ -432,7 +432,7 @@ output privateEndpoints array = [ ] @description('The databases of the kusto cluster.') -output kustoCluster_databases array = [ +output databases array = [ for (database, index) in (!empty(databases) ? array(databases) : []): { name: kustoCluster_databases[index].outputs.name resourceId: kustoCluster_databases[index].outputs.resourceId diff --git a/avm/res/kusto/cluster/main.json b/avm/res/kusto/cluster/main.json index ec7d931d32..c0a773dac0 100644 --- a/avm/res/kusto/cluster/main.json +++ b/avm/res/kusto/cluster/main.json @@ -6,7 +6,7 @@ "_generator": { "name": "bicep", "version": "0.32.4.45862", - "templateHash": "1461589423847251" + "templateHash": "5485047453025059126" }, "name": "Kusto Cluster", "description": "This module deploys a Kusto Cluster.", @@ -2401,7 +2401,7 @@ } } }, - "kustoCluster_databases": { + "databases": { "type": "array", "metadata": { "description": "The databases of the kusto cluster."