diff --git a/avm/res/azure-stack-hci/cluster/README.md b/avm/res/azure-stack-hci/cluster/README.md index 3576848736..284741e5da 100644 --- a/avm/res/azure-stack-hci/cluster/README.md +++ b/avm/res/azure-stack-hci/cluster/README.md @@ -1308,6 +1308,7 @@ Specify whether to use the shared key vault for the HCI cluster. | Output | Type | Description | | :-- | :-- | :-- | +| `customLocationName` | string | The name of the custom location. | | `location` | string | The location of the cluster. | | `name` | string | The name of the cluster. | | `resourceGroupName` | string | The resource group of the cluster. | diff --git a/avm/res/azure-stack-hci/cluster/deployment-setting/main.json b/avm/res/azure-stack-hci/cluster/deployment-setting/main.json index de60f2e4ac..b1e903eca3 100644 --- a/avm/res/azure-stack-hci/cluster/deployment-setting/main.json +++ b/avm/res/azure-stack-hci/cluster/deployment-setting/main.json @@ -5,8 +5,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.33.13.18514", - "templateHash": "10232132824907554113" + "version": "0.32.4.45862", + "templateHash": "6382378749701959727" }, "name": "Azure Stack HCI Cluster Deployment Settings", "description": "This module deploys an Azure Stack HCI Cluster Deployment Settings resource." diff --git a/avm/res/azure-stack-hci/cluster/main.bicep b/avm/res/azure-stack-hci/cluster/main.bicep index 565a4150b2..3b65e1a8aa 100644 --- a/avm/res/azure-stack-hci/cluster/main.bicep +++ b/avm/res/azure-stack-hci/cluster/main.bicep @@ -185,6 +185,9 @@ output systemAssignedMIPrincipalId string = cluster.identity.principalId @description('The location of the cluster.') output location string = cluster.location +@description('The name of the custom location.') +output customLocationName string = deploymentSettings!.customLocationName + // =============== // // Definitions // // =============== // diff --git a/avm/res/azure-stack-hci/cluster/main.json b/avm/res/azure-stack-hci/cluster/main.json index 0a2481719a..e572344312 100644 --- a/avm/res/azure-stack-hci/cluster/main.json +++ b/avm/res/azure-stack-hci/cluster/main.json @@ -5,8 +5,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.33.13.18514", - "templateHash": "2800706656796817324" + "version": "0.32.4.45862", + "templateHash": "5314620534728853638" }, "name": "Azure Stack HCI Cluster", "description": "This module deploys an Azure Stack HCI Cluster on the provided Arc Machines." @@ -837,8 +837,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.33.13.18514", - "templateHash": "10232132824907554113" + "version": "0.32.4.45862", + "templateHash": "6382378749701959727" }, "name": "Azure Stack HCI Cluster Deployment Settings", "description": "This module deploys an Azure Stack HCI Cluster Deployment Settings resource." @@ -1268,6 +1268,13 @@ "description": "The location of the cluster." }, "value": "[reference('cluster', '2024-04-01', 'full').location]" + }, + "customLocationName": { + "type": "string", + "metadata": { + "description": "The name of the custom location." + }, + "value": "[parameters('deploymentSettings').customLocationName]" } } } \ No newline at end of file