Skip to content

Commit

Permalink
Fix database output name
Browse files Browse the repository at this point in the history
  • Loading branch information
oZakari committed Dec 12, 2024
1 parent 6b8bf7b commit d347d47
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion avm/res/kusto/cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion avm/res/kusto/cluster/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions avm/res/kusto/cluster/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down Expand Up @@ -2401,7 +2401,7 @@
}
}
},
"kustoCluster_databases": {
"databases": {
"type": "array",
"metadata": {
"description": "The databases of the kusto cluster."
Expand Down

0 comments on commit d347d47

Please sign in to comment.