diff --git a/modules/Microsoft.AAD/DomainServices/.test/common/deploy.test.bicep b/modules/Microsoft.AAD/DomainServices/.test/common/deploy.test.bicep index 17cf3b7912..2782cc2a43 100644 --- a/modules/Microsoft.AAD/DomainServices/.test/common/deploy.test.bicep +++ b/modules/Microsoft.AAD/DomainServices/.test/common/deploy.test.bicep @@ -64,7 +64,7 @@ resource keyVault 'Microsoft.KeyVault/vaults@2022-07-01' existing = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.AAD/DomainServices/readme.md b/modules/Microsoft.AAD/DomainServices/readme.md index dd917ee5ea..bddb5fb45b 100644 --- a/modules/Microsoft.AAD/DomainServices/readme.md +++ b/modules/Microsoft.AAD/DomainServices/readme.md @@ -228,7 +228,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module DomainServices './Microsoft.AAD/DomainServices/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-aaddscom' + name: '${uniqueString(deployment().name, location)}-test-aaddscom' params: { // Required parameters domainName: '<>.onmicrosoft.com' diff --git a/modules/Microsoft.AnalysisServices/servers/.test/common/deploy.test.bicep b/modules/Microsoft.AnalysisServices/servers/.test/common/deploy.test.bicep index c6d932c035..b791e749b8 100644 --- a/modules/Microsoft.AnalysisServices/servers/.test/common/deploy.test.bicep +++ b/modules/Microsoft.AnalysisServices/servers/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}' diff --git a/modules/Microsoft.AnalysisServices/servers/.test/min/deploy.test.bicep b/modules/Microsoft.AnalysisServices/servers/.test/min/deploy.test.bicep index 35f4f20e5d..539e63824c 100644 --- a/modules/Microsoft.AnalysisServices/servers/.test/min/deploy.test.bicep +++ b/modules/Microsoft.AnalysisServices/servers/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}' diff --git a/modules/Microsoft.AnalysisServices/servers/readme.md b/modules/Microsoft.AnalysisServices/servers/readme.md index 423f6ffba2..9db05c7453 100644 --- a/modules/Microsoft.AnalysisServices/servers/readme.md +++ b/modules/Microsoft.AnalysisServices/servers/readme.md @@ -177,7 +177,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module servers './Microsoft.AnalysisServices/servers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-asscom' + name: '${uniqueString(deployment().name, location)}-test-asscom' params: { // Required parameters name: '<>asscom' @@ -407,7 +407,7 @@ module servers './Microsoft.AnalysisServices/servers/deploy.bicep' = { ```bicep module servers './Microsoft.AnalysisServices/servers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-assmin' + name: '${uniqueString(deployment().name, location)}-test-assmin' params: { // Required parameters name: '<>assmin' diff --git a/modules/Microsoft.ApiManagement/service/.test/common/deploy.test.bicep b/modules/Microsoft.ApiManagement/service/.test/common/deploy.test.bicep index 79936b7c8d..278457fad4 100644 --- a/modules/Microsoft.ApiManagement/service/.test/common/deploy.test.bicep +++ b/modules/Microsoft.ApiManagement/service/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ApiManagement/service/.test/max/deploy.test.bicep b/modules/Microsoft.ApiManagement/service/.test/max/deploy.test.bicep index ee5e2b3b04..0e0551cda1 100644 --- a/modules/Microsoft.ApiManagement/service/.test/max/deploy.test.bicep +++ b/modules/Microsoft.ApiManagement/service/.test/max/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ApiManagement/service/.test/min/deploy.test.bicep b/modules/Microsoft.ApiManagement/service/.test/min/deploy.test.bicep index 426c7a2657..7dea66afc5 100644 --- a/modules/Microsoft.ApiManagement/service/.test/min/deploy.test.bicep +++ b/modules/Microsoft.ApiManagement/service/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ApiManagement/service/readme.md b/modules/Microsoft.ApiManagement/service/readme.md index ae4a06715a..92da9ba59a 100644 --- a/modules/Microsoft.ApiManagement/service/readme.md +++ b/modules/Microsoft.ApiManagement/service/readme.md @@ -267,7 +267,7 @@ userAssignedIdentities: { ## Considerations -- *None* +- _None_ ## Cross-referenced modules @@ -292,7 +292,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module service './Microsoft.ApiManagement/service/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-apiscom' + name: '${uniqueString(deployment().name, location)}-test-apiscom' params: { // Required parameters name: '<>apiscom001' @@ -421,7 +421,7 @@ module service './Microsoft.ApiManagement/service/deploy.bicep' = { ```bicep module service './Microsoft.ApiManagement/service/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-apismax' + name: '${uniqueString(deployment().name, location)}-test-apismax' params: { // Required parameters name: '<>apismax001' @@ -760,7 +760,7 @@ module service './Microsoft.ApiManagement/service/deploy.bicep' = { ```bicep module service './Microsoft.ApiManagement/service/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-apismin' + name: '${uniqueString(deployment().name, location)}-test-apismin' params: { // Required parameters name: '<>apismin001' diff --git a/modules/Microsoft.AppConfiguration/configurationStores/.test/common/deploy.test.bicep b/modules/Microsoft.AppConfiguration/configurationStores/.test/common/deploy.test.bicep index 07acba0edb..3183001652 100644 --- a/modules/Microsoft.AppConfiguration/configurationStores/.test/common/deploy.test.bicep +++ b/modules/Microsoft.AppConfiguration/configurationStores/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.AppConfiguration/configurationStores/.test/min/deploy.test.bicep b/modules/Microsoft.AppConfiguration/configurationStores/.test/min/deploy.test.bicep index a501e7bde8..89ad173d49 100644 --- a/modules/Microsoft.AppConfiguration/configurationStores/.test/min/deploy.test.bicep +++ b/modules/Microsoft.AppConfiguration/configurationStores/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.AppConfiguration/configurationStores/.test/pe/deploy.test.bicep b/modules/Microsoft.AppConfiguration/configurationStores/.test/pe/deploy.test.bicep index bda04675e6..9cb972940f 100644 --- a/modules/Microsoft.AppConfiguration/configurationStores/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.AppConfiguration/configurationStores/.test/pe/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.AppConfiguration/configurationStores/readme.md b/modules/Microsoft.AppConfiguration/configurationStores/readme.md index 1b2d427f61..ccb2bde7b5 100644 --- a/modules/Microsoft.AppConfiguration/configurationStores/readme.md +++ b/modules/Microsoft.AppConfiguration/configurationStores/readme.md @@ -325,7 +325,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module configurationStores './Microsoft.AppConfiguration/configurationStores/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-acccom' + name: '${uniqueString(deployment().name, location)}-test-acccom' params: { // Required parameters name: '<>acccom001' @@ -468,7 +468,7 @@ module configurationStores './Microsoft.AppConfiguration/configurationStores/dep ```bicep module configurationStores './Microsoft.AppConfiguration/configurationStores/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-accmin' + name: '${uniqueString(deployment().name, location)}-test-accmin' params: { // Required parameters name: '<>accmin001' @@ -513,7 +513,7 @@ module configurationStores './Microsoft.AppConfiguration/configurationStores/dep ```bicep module configurationStores './Microsoft.AppConfiguration/configurationStores/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-accpe' + name: '${uniqueString(deployment().name, location)}-test-accpe' params: { // Required parameters name: '<>accpe001' diff --git a/modules/Microsoft.Authorization/locks/.test/common/deploy.test.bicep b/modules/Microsoft.Authorization/locks/.test/common/deploy.test.bicep index 7c55e250d0..3991a8f277 100644 --- a/modules/Microsoft.Authorization/locks/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Authorization/locks/.test/common/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry level: 'CanNotDelete' diff --git a/modules/Microsoft.Authorization/locks/readme.md b/modules/Microsoft.Authorization/locks/readme.md index 4a045dee68..7ed67beb91 100644 --- a/modules/Microsoft.Authorization/locks/readme.md +++ b/modules/Microsoft.Authorization/locks/readme.md @@ -62,7 +62,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module locks './Microsoft.Authorization/locks/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-alcom' + name: '${uniqueString(deployment().name, location)}-test-alcom' params: { // Required parameters level: 'CanNotDelete' diff --git a/modules/Microsoft.Authorization/policyAssignments/.test/mg.common/deploy.test.bicep b/modules/Microsoft.Authorization/policyAssignments/.test/mg.common/deploy.test.bicep index f4078c9256..bf1bdb7503 100644 --- a/modules/Microsoft.Authorization/policyAssignments/.test/mg.common/deploy.test.bicep +++ b/modules/Microsoft.Authorization/policyAssignments/.test/mg.common/deploy.test.bicep @@ -18,7 +18,7 @@ param enableDefaultTelemetry bool = true // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Authorization/policyAssignments/readme.md b/modules/Microsoft.Authorization/policyAssignments/readme.md index ba45b34935..818398bddd 100644 --- a/modules/Microsoft.Authorization/policyAssignments/readme.md +++ b/modules/Microsoft.Authorization/policyAssignments/readme.md @@ -190,7 +190,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module policyAssignments './Microsoft.Authorization/policyAssignments/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-apamgcom' + name: '${uniqueString(deployment().name, location)}-test-apamgcom' params: { // Required parameters name: '<>apamgcom001' diff --git a/modules/Microsoft.Automation/automationAccounts/.test/common/deploy.test.bicep b/modules/Microsoft.Automation/automationAccounts/.test/common/deploy.test.bicep index e431f982c4..924cf646f9 100644 --- a/modules/Microsoft.Automation/automationAccounts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Automation/automationAccounts/.test/common/deploy.test.bicep @@ -58,7 +58,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Automation/automationAccounts/.test/encr/deploy.test.bicep b/modules/Microsoft.Automation/automationAccounts/.test/encr/deploy.test.bicep index d8c8aabaa1..a1474d9325 100644 --- a/modules/Microsoft.Automation/automationAccounts/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.Automation/automationAccounts/.test/encr/deploy.test.bicep @@ -47,7 +47,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Automation/automationAccounts/.test/min/deploy.test.bicep b/modules/Microsoft.Automation/automationAccounts/.test/min/deploy.test.bicep index 0db802d6fc..db0b76eab3 100644 --- a/modules/Microsoft.Automation/automationAccounts/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Automation/automationAccounts/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Automation/automationAccounts/readme.md b/modules/Microsoft.Automation/automationAccounts/readme.md index a26473280a..3e3c7ed8d8 100644 --- a/modules/Microsoft.Automation/automationAccounts/readme.md +++ b/modules/Microsoft.Automation/automationAccounts/readme.md @@ -402,7 +402,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module automationAccounts './Microsoft.Automation/automationAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-aacom' + name: '${uniqueString(deployment().name, location)}-test-aacom' params: { // Required parameters name: '<>aacom001' @@ -817,7 +817,7 @@ module automationAccounts './Microsoft.Automation/automationAccounts/deploy.bice ```bicep module automationAccounts './Microsoft.Automation/automationAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-aaencr' + name: '${uniqueString(deployment().name, location)}-test-aaencr' params: { // Required parameters name: '<>aaencr001' @@ -882,7 +882,7 @@ module automationAccounts './Microsoft.Automation/automationAccounts/deploy.bice ```bicep module automationAccounts './Microsoft.Automation/automationAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-aamin' + name: '${uniqueString(deployment().name, location)}-test-aamin' params: { // Required parameters name: '<>aamin001' diff --git a/modules/Microsoft.Batch/batchAccounts/.test/common/deploy.test.bicep b/modules/Microsoft.Batch/batchAccounts/.test/common/deploy.test.bicep index a2abb377c0..ee5ca55fe6 100644 --- a/modules/Microsoft.Batch/batchAccounts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Batch/batchAccounts/.test/common/deploy.test.bicep @@ -58,7 +58,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Batch/batchAccounts/.test/encr/deploy.test.bicep b/modules/Microsoft.Batch/batchAccounts/.test/encr/deploy.test.bicep index 264842f4f5..193997f17f 100644 --- a/modules/Microsoft.Batch/batchAccounts/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.Batch/batchAccounts/.test/encr/deploy.test.bicep @@ -49,7 +49,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Batch/batchAccounts/.test/min/deploy.test.bicep b/modules/Microsoft.Batch/batchAccounts/.test/min/deploy.test.bicep index 2ca3f3876d..d386a385d6 100644 --- a/modules/Microsoft.Batch/batchAccounts/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Batch/batchAccounts/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Batch/batchAccounts/readme.md b/modules/Microsoft.Batch/batchAccounts/readme.md index 3e3d2d70a2..1d68cc6906 100644 --- a/modules/Microsoft.Batch/batchAccounts/readme.md +++ b/modules/Microsoft.Batch/batchAccounts/readme.md @@ -271,7 +271,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module batchAccounts './Microsoft.Batch/batchAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-bbacom' + name: '${uniqueString(deployment().name, location)}-test-bbacom' params: { // Required parameters name: '<>bbacom001' @@ -402,7 +402,7 @@ module batchAccounts './Microsoft.Batch/batchAccounts/deploy.bicep' = { ```bicep module batchAccounts './Microsoft.Batch/batchAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-bbaencr' + name: '${uniqueString(deployment().name, location)}-test-bbaencr' params: { // Required parameters name: '<>bbaencr001' @@ -503,7 +503,7 @@ module batchAccounts './Microsoft.Batch/batchAccounts/deploy.bicep' = { ```bicep module batchAccounts './Microsoft.Batch/batchAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-bbamin' + name: '${uniqueString(deployment().name, location)}-test-bbamin' params: { // Required parameters name: '<>bbamin001' diff --git a/modules/Microsoft.CDN/profiles/.test/common/deploy.test.bicep b/modules/Microsoft.CDN/profiles/.test/common/deploy.test.bicep index 229af302e5..740fb96be3 100644 --- a/modules/Microsoft.CDN/profiles/.test/common/deploy.test.bicep +++ b/modules/Microsoft.CDN/profiles/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: 'dep-<>-test-${serviceShort}' location: location diff --git a/modules/Microsoft.CDN/profiles/readme.md b/modules/Microsoft.CDN/profiles/readme.md index 03a79e2155..84c4c8f9f3 100644 --- a/modules/Microsoft.CDN/profiles/readme.md +++ b/modules/Microsoft.CDN/profiles/readme.md @@ -172,7 +172,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module profiles './Microsoft.CDN/profiles/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cdnpcom' + name: '${uniqueString(deployment().name, location)}-test-cdnpcom' params: { // Required parameters name: 'dep-<>-test-cdnpcom' diff --git a/modules/Microsoft.Cache/redis/.test/common/deploy.test.bicep b/modules/Microsoft.Cache/redis/.test/common/deploy.test.bicep index fbb3476cc8..09fef5daee 100644 --- a/modules/Microsoft.Cache/redis/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Cache/redis/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Cache/redis/.test/min/deploy.test.bicep b/modules/Microsoft.Cache/redis/.test/min/deploy.test.bicep index 0bde2460c9..25d451c1c9 100644 --- a/modules/Microsoft.Cache/redis/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Cache/redis/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Cache/redis/readme.md b/modules/Microsoft.Cache/redis/readme.md index b507ac871c..e978f0b565 100644 --- a/modules/Microsoft.Cache/redis/readme.md +++ b/modules/Microsoft.Cache/redis/readme.md @@ -365,7 +365,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module redis './Microsoft.Cache/redis/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-crcom' + name: '${uniqueString(deployment().name, location)}-test-crcom' params: { // Required parameters name: '<>crcom001' @@ -502,7 +502,7 @@ module redis './Microsoft.Cache/redis/deploy.bicep' = { ```bicep module redis './Microsoft.Cache/redis/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-crmin' + name: '${uniqueString(deployment().name, location)}-test-crmin' params: { // Required parameters name: '<>crmin001' diff --git a/modules/Microsoft.CognitiveServices/accounts/.test/common/deploy.test.bicep b/modules/Microsoft.CognitiveServices/accounts/.test/common/deploy.test.bicep index 531c0eca71..c03136e543 100644 --- a/modules/Microsoft.CognitiveServices/accounts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.CognitiveServices/accounts/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.CognitiveServices/accounts/.test/encr/deploy.test.bicep b/modules/Microsoft.CognitiveServices/accounts/.test/encr/deploy.test.bicep index 2e62624d79..9143a038d6 100644 --- a/modules/Microsoft.CognitiveServices/accounts/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.CognitiveServices/accounts/.test/encr/deploy.test.bicep @@ -48,7 +48,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.CognitiveServices/accounts/.test/min/deploy.test.bicep b/modules/Microsoft.CognitiveServices/accounts/.test/min/deploy.test.bicep index b9496b9621..9d06fef452 100644 --- a/modules/Microsoft.CognitiveServices/accounts/.test/min/deploy.test.bicep +++ b/modules/Microsoft.CognitiveServices/accounts/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.CognitiveServices/accounts/.test/speech/deploy.test.bicep b/modules/Microsoft.CognitiveServices/accounts/.test/speech/deploy.test.bicep index c7ec75e70e..80b9233cad 100644 --- a/modules/Microsoft.CognitiveServices/accounts/.test/speech/deploy.test.bicep +++ b/modules/Microsoft.CognitiveServices/accounts/.test/speech/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.CognitiveServices/accounts/readme.md b/modules/Microsoft.CognitiveServices/accounts/readme.md index 6110ac5793..0c1603f860 100644 --- a/modules/Microsoft.CognitiveServices/accounts/readme.md +++ b/modules/Microsoft.CognitiveServices/accounts/readme.md @@ -455,7 +455,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module accounts './Microsoft.CognitiveServices/accounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-csacom' + name: '${uniqueString(deployment().name, location)}-test-csacom' params: { // Required parameters kind: 'Face' @@ -622,7 +622,7 @@ module accounts './Microsoft.CognitiveServices/accounts/deploy.bicep' = { ```bicep module accounts './Microsoft.CognitiveServices/accounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-csaencr' + name: '${uniqueString(deployment().name, location)}-test-csaencr' params: { // Required parameters kind: 'SpeechServices' @@ -699,7 +699,7 @@ module accounts './Microsoft.CognitiveServices/accounts/deploy.bicep' = { ```bicep module accounts './Microsoft.CognitiveServices/accounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-csamin' + name: '${uniqueString(deployment().name, location)}-test-csamin' params: { // Required parameters kind: 'SpeechServices' @@ -748,7 +748,7 @@ module accounts './Microsoft.CognitiveServices/accounts/deploy.bicep' = { ```bicep module accounts './Microsoft.CognitiveServices/accounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-csaspeech' + name: '${uniqueString(deployment().name, location)}-test-csaspeech' params: { // Required parameters kind: 'SpeechServices' diff --git a/modules/Microsoft.Compute/availabilitySets/.test/common/deploy.test.bicep b/modules/Microsoft.Compute/availabilitySets/.test/common/deploy.test.bicep index da975187b2..84a4ee9e4b 100644 --- a/modules/Microsoft.Compute/availabilitySets/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Compute/availabilitySets/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/availabilitySets/.test/min/deploy.test.bicep b/modules/Microsoft.Compute/availabilitySets/.test/min/deploy.test.bicep index 748e430b6b..7469a015cd 100644 --- a/modules/Microsoft.Compute/availabilitySets/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Compute/availabilitySets/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/availabilitySets/readme.md b/modules/Microsoft.Compute/availabilitySets/readme.md index 038d1fb823..02109955b4 100644 --- a/modules/Microsoft.Compute/availabilitySets/readme.md +++ b/modules/Microsoft.Compute/availabilitySets/readme.md @@ -169,7 +169,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module availabilitySets './Microsoft.Compute/availabilitySets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cascom' + name: '${uniqueString(deployment().name, location)}-test-cascom' params: { // Required parameters name: '<>cascom001' @@ -242,7 +242,7 @@ module availabilitySets './Microsoft.Compute/availabilitySets/deploy.bicep' = { ```bicep module availabilitySets './Microsoft.Compute/availabilitySets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-casmin' + name: '${uniqueString(deployment().name, location)}-test-casmin' params: { // Required parameters name: '<>casmin001' diff --git a/modules/Microsoft.Compute/diskEncryptionSets/.test/common/deploy.test.bicep b/modules/Microsoft.Compute/diskEncryptionSets/.test/common/deploy.test.bicep index 628aad1380..0ae5f9f0ed 100644 --- a/modules/Microsoft.Compute/diskEncryptionSets/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Compute/diskEncryptionSets/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/diskEncryptionSets/readme.md b/modules/Microsoft.Compute/diskEncryptionSets/readme.md index 75ee5e1851..350721060f 100644 --- a/modules/Microsoft.Compute/diskEncryptionSets/readme.md +++ b/modules/Microsoft.Compute/diskEncryptionSets/readme.md @@ -175,7 +175,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module diskEncryptionSets './Microsoft.Compute/diskEncryptionSets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cdescom' + name: '${uniqueString(deployment().name, location)}-test-cdescom' params: { // Required parameters keyName: '' diff --git a/modules/Microsoft.Compute/galleries/.test/common/deploy.test.bicep b/modules/Microsoft.Compute/galleries/.test/common/deploy.test.bicep index e3560911da..56e6527ecf 100644 --- a/modules/Microsoft.Compute/galleries/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Compute/galleries/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/galleries/.test/min/deploy.test.bicep b/modules/Microsoft.Compute/galleries/.test/min/deploy.test.bicep index 3a1fdf07b5..d93f11ba45 100644 --- a/modules/Microsoft.Compute/galleries/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Compute/galleries/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/galleries/readme.md b/modules/Microsoft.Compute/galleries/readme.md index b6ebadc5cf..edc139095f 100644 --- a/modules/Microsoft.Compute/galleries/readme.md +++ b/modules/Microsoft.Compute/galleries/readme.md @@ -170,7 +170,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module galleries './Microsoft.Compute/galleries/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cgcom' + name: '${uniqueString(deployment().name, location)}-test-cgcom' params: { // Required parameters name: '<>cgcom001' @@ -405,7 +405,7 @@ module galleries './Microsoft.Compute/galleries/deploy.bicep' = { ```bicep module galleries './Microsoft.Compute/galleries/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cgmin' + name: '${uniqueString(deployment().name, location)}-test-cgmin' params: { // Required parameters name: '<>cgmin001' diff --git a/modules/Microsoft.Compute/proximityPlacementGroups/.test/common/deploy.test.bicep b/modules/Microsoft.Compute/proximityPlacementGroups/.test/common/deploy.test.bicep index 832899040e..da20117980 100644 --- a/modules/Microsoft.Compute/proximityPlacementGroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Compute/proximityPlacementGroups/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/proximityPlacementGroups/.test/min/deploy.test.bicep b/modules/Microsoft.Compute/proximityPlacementGroups/.test/min/deploy.test.bicep index 30ac0216e5..9c06a6f711 100644 --- a/modules/Microsoft.Compute/proximityPlacementGroups/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Compute/proximityPlacementGroups/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/proximityPlacementGroups/readme.md b/modules/Microsoft.Compute/proximityPlacementGroups/readme.md index 7a90844f7d..ffb00d0997 100644 --- a/modules/Microsoft.Compute/proximityPlacementGroups/readme.md +++ b/modules/Microsoft.Compute/proximityPlacementGroups/readme.md @@ -169,7 +169,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module proximityPlacementGroups './Microsoft.Compute/proximityPlacementGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cppgcom' + name: '${uniqueString(deployment().name, location)}-test-cppgcom' params: { // Required parameters name: '<>cppgcom001' @@ -288,7 +288,7 @@ module proximityPlacementGroups './Microsoft.Compute/proximityPlacementGroups/de ```bicep module proximityPlacementGroups './Microsoft.Compute/proximityPlacementGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cppgmin' + name: '${uniqueString(deployment().name, location)}-test-cppgmin' params: { // Required parameters name: '<>cppgmin001' diff --git a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.min/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.min/deploy.test.bicep index bea1836da1..fe995bd530 100644 --- a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.min/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.min/deploy.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.ssecmk/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.ssecmk/deploy.test.bicep index 70a08fc212..1f44b2ff39 100644 --- a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.ssecmk/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.ssecmk/deploy.test.bicep @@ -51,7 +51,7 @@ module nestedDependencies 'dependencies.bicep' = { // ============== // module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry location: location diff --git a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux/deploy.test.bicep index 5d18c7b80e..8864ad37ac 100644 --- a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux/deploy.test.bicep @@ -62,7 +62,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows.min/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows.min/deploy.test.bicep index 06106373c0..e6ebf5d342 100644 --- a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows.min/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows.min/deploy.test.bicep @@ -46,7 +46,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows/deploy.test.bicep index 4ec8761167..0a299d546c 100644 --- a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows/deploy.test.bicep @@ -65,7 +65,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/virtualMachineScaleSets/readme.md b/modules/Microsoft.Compute/virtualMachineScaleSets/readme.md index 7f2446d3db..522e82f6a0 100644 --- a/modules/Microsoft.Compute/virtualMachineScaleSets/readme.md +++ b/modules/Microsoft.Compute/virtualMachineScaleSets/readme.md @@ -910,7 +910,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmsslin' + name: '${uniqueString(deployment().name, location)}-test-cvmsslin' params: { // Required parameters adminUsername: 'scaleSetAdmin' @@ -1253,7 +1253,7 @@ module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/depl ```bicep module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmsslinmin' + name: '${uniqueString(deployment().name, location)}-test-cvmsslinmin' params: { // Required parameters adminUsername: 'scaleSetAdmin' @@ -1390,7 +1390,7 @@ module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/depl ```bicep module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmsslcmk' + name: '${uniqueString(deployment().name, location)}-test-cvmsslcmk' params: { // Required parameters adminUsername: 'scaleSetAdmin' @@ -1565,7 +1565,7 @@ module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/depl ```bicep module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmsswin' + name: '${uniqueString(deployment().name, location)}-test-cvmsswin' params: { // Required parameters adminUsername: 'localAdminUser' @@ -1890,7 +1890,7 @@ module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/depl ```bicep module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmsswinmin' + name: '${uniqueString(deployment().name, location)}-test-cvmsswinmin' params: { // Required parameters adminUsername: 'localAdminUser' diff --git a/modules/Microsoft.Compute/virtualMachines/.test/linux.atmg/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachines/.test/linux.atmg/deploy.test.bicep index 45815fb7ba..f74e03d30e 100644 --- a/modules/Microsoft.Compute/virtualMachines/.test/linux.atmg/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachines/.test/linux.atmg/deploy.test.bicep @@ -51,7 +51,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry location: location diff --git a/modules/Microsoft.Compute/virtualMachines/.test/linux.min/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachines/.test/linux.min/deploy.test.bicep index 73248d489e..bf69903525 100644 --- a/modules/Microsoft.Compute/virtualMachines/.test/linux.min/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachines/.test/linux.min/deploy.test.bicep @@ -51,7 +51,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry location: location diff --git a/modules/Microsoft.Compute/virtualMachines/.test/linux/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachines/.test/linux/deploy.test.bicep index 12a80fb2fe..1710a37d90 100644 --- a/modules/Microsoft.Compute/virtualMachines/.test/linux/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachines/.test/linux/deploy.test.bicep @@ -66,7 +66,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}' diff --git a/modules/Microsoft.Compute/virtualMachines/.test/windows.atmg/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachines/.test/windows.atmg/deploy.test.bicep index a18447e25a..6aa33cdeb5 100644 --- a/modules/Microsoft.Compute/virtualMachines/.test/windows.atmg/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachines/.test/windows.atmg/deploy.test.bicep @@ -47,7 +47,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry location: location diff --git a/modules/Microsoft.Compute/virtualMachines/.test/windows.min/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachines/.test/windows.min/deploy.test.bicep index 2a8261e18e..ff5124664b 100644 --- a/modules/Microsoft.Compute/virtualMachines/.test/windows.min/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachines/.test/windows.min/deploy.test.bicep @@ -46,7 +46,7 @@ module nestedDependencies 'dependencies.bicep' = { // ============== // module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry location: location diff --git a/modules/Microsoft.Compute/virtualMachines/.test/windows.ssecmk/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachines/.test/windows.ssecmk/deploy.test.bicep index 202c9bf70c..bcb2e79ada 100644 --- a/modules/Microsoft.Compute/virtualMachines/.test/windows.ssecmk/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachines/.test/windows.ssecmk/deploy.test.bicep @@ -52,7 +52,7 @@ module nestedDependencies 'dependencies.bicep' = { // ============== // module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry location: location diff --git a/modules/Microsoft.Compute/virtualMachines/.test/windows/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachines/.test/windows/deploy.test.bicep index b8f6510804..a91fab1f31 100644 --- a/modules/Microsoft.Compute/virtualMachines/.test/windows/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachines/.test/windows/deploy.test.bicep @@ -69,7 +69,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry location: location diff --git a/modules/Microsoft.Compute/virtualMachines/readme.md b/modules/Microsoft.Compute/virtualMachines/readme.md index c2249cc7c3..708b924375 100644 --- a/modules/Microsoft.Compute/virtualMachines/readme.md +++ b/modules/Microsoft.Compute/virtualMachines/readme.md @@ -1045,7 +1045,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmlincom' + name: '${uniqueString(deployment().name, location)}-test-cvmlincom' params: { // Required parameters adminUsername: 'localAdministrator' @@ -1472,7 +1472,7 @@ module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { ```bicep module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmlinatmg' + name: '${uniqueString(deployment().name, location)}-test-cvmlinatmg' params: { // Required parameters adminUsername: 'localAdminUser' @@ -1613,7 +1613,7 @@ module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { ```bicep module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmlinmin' + name: '${uniqueString(deployment().name, location)}-test-cvmlinmin' params: { // Required parameters adminUsername: 'localAdminUser' @@ -1750,7 +1750,7 @@ module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { ```bicep module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmwincom' + name: '${uniqueString(deployment().name, location)}-test-cvmwincom' params: { // Required parameters adminUsername: 'VMAdmin' @@ -2205,7 +2205,7 @@ module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { ```bicep module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmwinatmg' + name: '${uniqueString(deployment().name, location)}-test-cvmwinatmg' params: { // Required parameters adminUsername: 'localAdministrator' @@ -2326,7 +2326,7 @@ module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { ```bicep module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmwinmin' + name: '${uniqueString(deployment().name, location)}-test-cvmwinmin' params: { // Required parameters adminUsername: 'localAdminUser' @@ -2443,7 +2443,7 @@ module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { ```bicep module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmwincmk' + name: '${uniqueString(deployment().name, location)}-test-cvmwincmk' params: { // Required parameters adminUsername: 'VMAdministrator' diff --git a/modules/Microsoft.ContainerInstance/containerGroups/.test/common/deploy.test.bicep b/modules/Microsoft.ContainerInstance/containerGroups/.test/common/deploy.test.bicep index 4e85f5bc88..eb09ab5e62 100644 --- a/modules/Microsoft.ContainerInstance/containerGroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.ContainerInstance/containerGroups/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerInstance/containerGroups/.test/encr/deploy.test.bicep b/modules/Microsoft.ContainerInstance/containerGroups/.test/encr/deploy.test.bicep index b949452ee5..b5455422fc 100644 --- a/modules/Microsoft.ContainerInstance/containerGroups/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.ContainerInstance/containerGroups/.test/encr/deploy.test.bicep @@ -47,7 +47,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerInstance/containerGroups/.test/min/deploy.test.bicep b/modules/Microsoft.ContainerInstance/containerGroups/.test/min/deploy.test.bicep index 6deacd50fa..96ea35704a 100644 --- a/modules/Microsoft.ContainerInstance/containerGroups/.test/min/deploy.test.bicep +++ b/modules/Microsoft.ContainerInstance/containerGroups/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerInstance/containerGroups/.test/private/deploy.test.bicep b/modules/Microsoft.ContainerInstance/containerGroups/.test/private/deploy.test.bicep index dc04e4ac90..88b42d336b 100644 --- a/modules/Microsoft.ContainerInstance/containerGroups/.test/private/deploy.test.bicep +++ b/modules/Microsoft.ContainerInstance/containerGroups/.test/private/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerInstance/containerGroups/readme.md b/modules/Microsoft.ContainerInstance/containerGroups/readme.md index 418bef8451..fdc71f4dfd 100644 --- a/modules/Microsoft.ContainerInstance/containerGroups/readme.md +++ b/modules/Microsoft.ContainerInstance/containerGroups/readme.md @@ -306,7 +306,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module containerGroups './Microsoft.ContainerInstance/containerGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cicgcom' + name: '${uniqueString(deployment().name, location)}-test-cicgcom' params: { // Required parameters containers: [ @@ -483,7 +483,7 @@ module containerGroups './Microsoft.ContainerInstance/containerGroups/deploy.bic ```bicep module containerGroups './Microsoft.ContainerInstance/containerGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cicgecr' + name: '${uniqueString(deployment().name, location)}-test-cicgecr' params: { // Required parameters containers: [ @@ -668,7 +668,7 @@ module containerGroups './Microsoft.ContainerInstance/containerGroups/deploy.bic ```bicep module containerGroups './Microsoft.ContainerInstance/containerGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cicgmin' + name: '${uniqueString(deployment().name, location)}-test-cicgmin' params: { // Required parameters containers: [ @@ -769,7 +769,7 @@ module containerGroups './Microsoft.ContainerInstance/containerGroups/deploy.bic ```bicep module containerGroups './Microsoft.ContainerInstance/containerGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cicgprivate' + name: '${uniqueString(deployment().name, location)}-test-cicgprivate' params: { // Required parameters containers: [ diff --git a/modules/Microsoft.ContainerRegistry/registries/.test/common/deploy.test.bicep b/modules/Microsoft.ContainerRegistry/registries/.test/common/deploy.test.bicep index 88b86725a1..518cd8ae2a 100644 --- a/modules/Microsoft.ContainerRegistry/registries/.test/common/deploy.test.bicep +++ b/modules/Microsoft.ContainerRegistry/registries/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerRegistry/registries/.test/encr/deploy.test.bicep b/modules/Microsoft.ContainerRegistry/registries/.test/encr/deploy.test.bicep index 28735f38ce..1e45c9598a 100644 --- a/modules/Microsoft.ContainerRegistry/registries/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.ContainerRegistry/registries/.test/encr/deploy.test.bicep @@ -48,7 +48,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerRegistry/registries/.test/min/deploy.test.bicep b/modules/Microsoft.ContainerRegistry/registries/.test/min/deploy.test.bicep index 8fa7154220..1f5b4d858c 100644 --- a/modules/Microsoft.ContainerRegistry/registries/.test/min/deploy.test.bicep +++ b/modules/Microsoft.ContainerRegistry/registries/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerRegistry/registries/.test/pe/deploy.test.bicep b/modules/Microsoft.ContainerRegistry/registries/.test/pe/deploy.test.bicep index d5a927ac4a..3572bb8c4f 100644 --- a/modules/Microsoft.ContainerRegistry/registries/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.ContainerRegistry/registries/.test/pe/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerRegistry/registries/readme.md b/modules/Microsoft.ContainerRegistry/registries/readme.md index d0c3ff817a..8dbe241ed0 100644 --- a/modules/Microsoft.ContainerRegistry/registries/readme.md +++ b/modules/Microsoft.ContainerRegistry/registries/readme.md @@ -383,7 +383,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module registries './Microsoft.ContainerRegistry/registries/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-crrcom' + name: '${uniqueString(deployment().name, location)}-test-crrcom' params: { // Required parameters name: '<>crrcom001' @@ -582,7 +582,7 @@ module registries './Microsoft.ContainerRegistry/registries/deploy.bicep' = { ```bicep module registries './Microsoft.ContainerRegistry/registries/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-crrencr' + name: '${uniqueString(deployment().name, location)}-test-crrencr' params: { // Required parameters name: '<>crrencr001' @@ -655,7 +655,7 @@ module registries './Microsoft.ContainerRegistry/registries/deploy.bicep' = { ```bicep module registries './Microsoft.ContainerRegistry/registries/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-crrmin' + name: '${uniqueString(deployment().name, location)}-test-crrmin' params: { // Required parameters name: '<>crrmin001' @@ -700,7 +700,7 @@ module registries './Microsoft.ContainerRegistry/registries/deploy.bicep' = { ```bicep module registries './Microsoft.ContainerRegistry/registries/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-crrpe' + name: '${uniqueString(deployment().name, location)}-test-crrpe' params: { // Required parameters name: '<>crrpe001' diff --git a/modules/Microsoft.ContainerService/managedClusters/.test/azure/deploy.test.bicep b/modules/Microsoft.ContainerService/managedClusters/.test/azure/deploy.test.bicep index b1356c1ebe..a83f34c2aa 100644 --- a/modules/Microsoft.ContainerService/managedClusters/.test/azure/deploy.test.bicep +++ b/modules/Microsoft.ContainerService/managedClusters/.test/azure/deploy.test.bicep @@ -63,7 +63,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerService/managedClusters/.test/kubenet/deploy.test.bicep b/modules/Microsoft.ContainerService/managedClusters/.test/kubenet/deploy.test.bicep index 2ace69c72e..d88794cb7b 100644 --- a/modules/Microsoft.ContainerService/managedClusters/.test/kubenet/deploy.test.bicep +++ b/modules/Microsoft.ContainerService/managedClusters/.test/kubenet/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerService/managedClusters/readme.md b/modules/Microsoft.ContainerService/managedClusters/readme.md index 478c736504..510d76a2a0 100644 --- a/modules/Microsoft.ContainerService/managedClusters/readme.md +++ b/modules/Microsoft.ContainerService/managedClusters/readme.md @@ -381,7 +381,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module managedClusters './Microsoft.ContainerService/managedClusters/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-csmaz' + name: '${uniqueString(deployment().name, location)}-test-csmaz' params: { // Required parameters name: '<>csmaz001' @@ -632,7 +632,7 @@ module managedClusters './Microsoft.ContainerService/managedClusters/deploy.bice ```bicep module managedClusters './Microsoft.ContainerService/managedClusters/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-csmkube' + name: '${uniqueString(deployment().name, location)}-test-csmkube' params: { // Required parameters name: '<>csmkube001' diff --git a/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/min/deploy.test.bicep b/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/min/deploy.test.bicep index 7461297374..d0de682943 100644 --- a/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/min/deploy.test.bicep +++ b/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/min/deploy.test.bicep @@ -38,7 +38,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/private/deploy.test.bicep b/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/private/deploy.test.bicep index 8e4d2bcdbd..b77055c37a 100644 --- a/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/private/deploy.test.bicep +++ b/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/private/deploy.test.bicep @@ -61,7 +61,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/public/deploy.test.bicep b/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/public/deploy.test.bicep index 94560b3419..f84bd599fd 100644 --- a/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/public/deploy.test.bicep +++ b/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/public/deploy.test.bicep @@ -65,7 +65,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DBforPostgreSQL/flexibleServers/readme.md b/modules/Microsoft.DBforPostgreSQL/flexibleServers/readme.md index 2f214106bc..23cc3b33e5 100644 --- a/modules/Microsoft.DBforPostgreSQL/flexibleServers/readme.md +++ b/modules/Microsoft.DBforPostgreSQL/flexibleServers/readme.md @@ -382,7 +382,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module flexibleServers './Microsoft.DBforPostgreSQL/flexibleServers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dfpsfsmin' + name: '${uniqueString(deployment().name, location)}-test-dfpsfsmin' params: { // Required parameters administratorLogin: 'adminUserName' @@ -443,7 +443,7 @@ module flexibleServers './Microsoft.DBforPostgreSQL/flexibleServers/deploy.bicep ```bicep module flexibleServers './Microsoft.DBforPostgreSQL/flexibleServers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dfpsfspvt' + name: '${uniqueString(deployment().name, location)}-test-dfpsfspvt' params: { // Required parameters administratorLogin: 'adminUserName' @@ -584,7 +584,7 @@ module flexibleServers './Microsoft.DBforPostgreSQL/flexibleServers/deploy.bicep ```bicep module flexibleServers './Microsoft.DBforPostgreSQL/flexibleServers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dfpsfsp' + name: '${uniqueString(deployment().name, location)}-test-dfpsfsp' params: { // Required parameters administratorLogin: 'adminUserName' diff --git a/modules/Microsoft.DataFactory/factories/.test/common/deploy.test.bicep b/modules/Microsoft.DataFactory/factories/.test/common/deploy.test.bicep index 0e1000b520..4d0a0396aa 100644 --- a/modules/Microsoft.DataFactory/factories/.test/common/deploy.test.bicep +++ b/modules/Microsoft.DataFactory/factories/.test/common/deploy.test.bicep @@ -59,7 +59,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DataFactory/factories/.test/min/deploy.test.bicep b/modules/Microsoft.DataFactory/factories/.test/min/deploy.test.bicep index 99ca9a48fe..c0018e4ac6 100644 --- a/modules/Microsoft.DataFactory/factories/.test/min/deploy.test.bicep +++ b/modules/Microsoft.DataFactory/factories/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DataFactory/factories/readme.md b/modules/Microsoft.DataFactory/factories/readme.md index e9217c8ddf..30d2be6dba 100644 --- a/modules/Microsoft.DataFactory/factories/readme.md +++ b/modules/Microsoft.DataFactory/factories/readme.md @@ -388,7 +388,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module factories './Microsoft.DataFactory/factories/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dffcom' + name: '${uniqueString(deployment().name, location)}-test-dffcom' params: { // Required parameters name: '<>dffcom001' @@ -589,7 +589,7 @@ module factories './Microsoft.DataFactory/factories/deploy.bicep' = { ```bicep module factories './Microsoft.DataFactory/factories/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dffmin' + name: '${uniqueString(deployment().name, location)}-test-dffmin' params: { // Required parameters name: '<>dffmin001' diff --git a/modules/Microsoft.DataProtection/backupVaults/.test/common/deploy.test.bicep b/modules/Microsoft.DataProtection/backupVaults/.test/common/deploy.test.bicep index 334af1d867..d878a511ec 100644 --- a/modules/Microsoft.DataProtection/backupVaults/.test/common/deploy.test.bicep +++ b/modules/Microsoft.DataProtection/backupVaults/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DataProtection/backupVaults/.test/min/deploy.test.bicep b/modules/Microsoft.DataProtection/backupVaults/.test/min/deploy.test.bicep index 154406bc55..db57d810db 100644 --- a/modules/Microsoft.DataProtection/backupVaults/.test/min/deploy.test.bicep +++ b/modules/Microsoft.DataProtection/backupVaults/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DataProtection/backupVaults/readme.md b/modules/Microsoft.DataProtection/backupVaults/readme.md index d33ea63d80..a8b882b687 100644 --- a/modules/Microsoft.DataProtection/backupVaults/readme.md +++ b/modules/Microsoft.DataProtection/backupVaults/readme.md @@ -351,7 +351,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module backupVaults './Microsoft.DataProtection/backupVaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dpbvcom' + name: '${uniqueString(deployment().name, location)}-test-dpbvcom' params: { // Required parameters name: '<>dpbvcom001' @@ -550,7 +550,7 @@ module backupVaults './Microsoft.DataProtection/backupVaults/deploy.bicep' = { ```bicep module backupVaults './Microsoft.DataProtection/backupVaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dpbvmin' + name: '${uniqueString(deployment().name, location)}-test-dpbvmin' params: { // Required parameters name: '<>dpbvmin001' diff --git a/modules/Microsoft.Databricks/workspaces/.test/common/deploy.test.bicep b/modules/Microsoft.Databricks/workspaces/.test/common/deploy.test.bicep index 4cfea8af4b..ec861fe76b 100644 --- a/modules/Microsoft.Databricks/workspaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Databricks/workspaces/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Databricks/workspaces/readme.md b/modules/Microsoft.Databricks/workspaces/readme.md index 9e33368efe..9b0b0a68e7 100644 --- a/modules/Microsoft.Databricks/workspaces/readme.md +++ b/modules/Microsoft.Databricks/workspaces/readme.md @@ -239,7 +239,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module workspaces './Microsoft.Databricks/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dwcom' + name: '${uniqueString(deployment().name, location)}-test-dwcom' params: { // Required parameters name: '<>dwcom001' diff --git a/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/common/deploy.test.bicep b/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/common/deploy.test.bicep index 58dc909f5a..072e4af93c 100644 --- a/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/min/deploy.test.bicep b/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/min/deploy.test.bicep index 0f4051398e..518b3e2cc1 100644 --- a/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/min/deploy.test.bicep +++ b/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DesktopVirtualization/applicationgroups/readme.md b/modules/Microsoft.DesktopVirtualization/applicationgroups/readme.md index 4541711805..fc6ba7dd63 100644 --- a/modules/Microsoft.DesktopVirtualization/applicationgroups/readme.md +++ b/modules/Microsoft.DesktopVirtualization/applicationgroups/readme.md @@ -179,7 +179,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module applicationgroups './Microsoft.DesktopVirtualization/applicationgroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dvagcom' + name: '${uniqueString(deployment().name, location)}-test-dvagcom' params: { // Required parameters applicationGroupType: 'RemoteApp' @@ -326,7 +326,7 @@ module applicationgroups './Microsoft.DesktopVirtualization/applicationgroups/de ```bicep module applicationgroups './Microsoft.DesktopVirtualization/applicationgroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dvagmin' + name: '${uniqueString(deployment().name, location)}-test-dvagmin' params: { // Required parameters applicationGroupType: 'RemoteApp' diff --git a/modules/Microsoft.DesktopVirtualization/hostpools/.test/common/deploy.test.bicep b/modules/Microsoft.DesktopVirtualization/hostpools/.test/common/deploy.test.bicep index a4cb91bf21..668ee3dd72 100644 --- a/modules/Microsoft.DesktopVirtualization/hostpools/.test/common/deploy.test.bicep +++ b/modules/Microsoft.DesktopVirtualization/hostpools/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DesktopVirtualization/hostpools/readme.md b/modules/Microsoft.DesktopVirtualization/hostpools/readme.md index e39711a77c..1535227cc4 100644 --- a/modules/Microsoft.DesktopVirtualization/hostpools/readme.md +++ b/modules/Microsoft.DesktopVirtualization/hostpools/readme.md @@ -276,7 +276,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module hostpools './Microsoft.DesktopVirtualization/hostpools/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dvhpcom' + name: '${uniqueString(deployment().name, location)}-test-dvhpcom' params: { // Required parameters name: '<>dvhpcom001' diff --git a/modules/Microsoft.DesktopVirtualization/scalingplans/.test/common/deploy.test.bicep b/modules/Microsoft.DesktopVirtualization/scalingplans/.test/common/deploy.test.bicep index c42af1eae8..90a3f62950 100644 --- a/modules/Microsoft.DesktopVirtualization/scalingplans/.test/common/deploy.test.bicep +++ b/modules/Microsoft.DesktopVirtualization/scalingplans/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DesktopVirtualization/scalingplans/.test/min/deploy.test.bicep b/modules/Microsoft.DesktopVirtualization/scalingplans/.test/min/deploy.test.bicep index 651891190c..9ca3365a0a 100644 --- a/modules/Microsoft.DesktopVirtualization/scalingplans/.test/min/deploy.test.bicep +++ b/modules/Microsoft.DesktopVirtualization/scalingplans/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DesktopVirtualization/scalingplans/readme.md b/modules/Microsoft.DesktopVirtualization/scalingplans/readme.md index 4f046329ce..f97e512f98 100644 --- a/modules/Microsoft.DesktopVirtualization/scalingplans/readme.md +++ b/modules/Microsoft.DesktopVirtualization/scalingplans/readme.md @@ -278,7 +278,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module scalingplans './Microsoft.DesktopVirtualization/scalingplans/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dvspcom' + name: '${uniqueString(deployment().name, location)}-test-dvspcom' params: { // Required parameters name: '<>dvspcom001' @@ -385,7 +385,7 @@ module scalingplans './Microsoft.DesktopVirtualization/scalingplans/deploy.bicep ```bicep module scalingplans './Microsoft.DesktopVirtualization/scalingplans/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dvspmin' + name: '${uniqueString(deployment().name, location)}-test-dvspmin' params: { // Required parameters name: '<>dvspmin001' diff --git a/modules/Microsoft.DesktopVirtualization/workspaces/.test/common/deploy.test.bicep b/modules/Microsoft.DesktopVirtualization/workspaces/.test/common/deploy.test.bicep index 28d122520c..e869261d9f 100644 --- a/modules/Microsoft.DesktopVirtualization/workspaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.DesktopVirtualization/workspaces/.test/common/deploy.test.bicep @@ -58,7 +58,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DesktopVirtualization/workspaces/.test/min/deploy.test.bicep b/modules/Microsoft.DesktopVirtualization/workspaces/.test/min/deploy.test.bicep index aa1f1fb345..e217769c85 100644 --- a/modules/Microsoft.DesktopVirtualization/workspaces/.test/min/deploy.test.bicep +++ b/modules/Microsoft.DesktopVirtualization/workspaces/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DesktopVirtualization/workspaces/readme.md b/modules/Microsoft.DesktopVirtualization/workspaces/readme.md index 649924807c..32043bde8e 100644 --- a/modules/Microsoft.DesktopVirtualization/workspaces/readme.md +++ b/modules/Microsoft.DesktopVirtualization/workspaces/readme.md @@ -176,7 +176,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module workspaces './Microsoft.DesktopVirtualization/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dvwcom' + name: '${uniqueString(deployment().name, location)}-test-dvwcom' params: { // Required parameters name: '<>dvwcom001' @@ -285,7 +285,7 @@ module workspaces './Microsoft.DesktopVirtualization/workspaces/deploy.bicep' = ```bicep module workspaces './Microsoft.DesktopVirtualization/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dvwmin' + name: '${uniqueString(deployment().name, location)}-test-dvwmin' params: { // Required parameters name: '<>dvwmin001' diff --git a/modules/Microsoft.DevTestLab/labs/.test/common/deploy.test.bicep b/modules/Microsoft.DevTestLab/labs/.test/common/deploy.test.bicep index de4556a008..a74b8c1990 100644 --- a/modules/Microsoft.DevTestLab/labs/.test/common/deploy.test.bicep +++ b/modules/Microsoft.DevTestLab/labs/.test/common/deploy.test.bicep @@ -50,7 +50,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DevTestLab/labs/.test/min/deploy.test.bicep b/modules/Microsoft.DevTestLab/labs/.test/min/deploy.test.bicep index 801619c0d8..0038e1027a 100644 --- a/modules/Microsoft.DevTestLab/labs/.test/min/deploy.test.bicep +++ b/modules/Microsoft.DevTestLab/labs/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: '<>${serviceShort}001' enableDefaultTelemetry: enableDefaultTelemetry diff --git a/modules/Microsoft.DevTestLab/labs/readme.md b/modules/Microsoft.DevTestLab/labs/readme.md index 84fe33c280..b1c90e2705 100644 --- a/modules/Microsoft.DevTestLab/labs/readme.md +++ b/modules/Microsoft.DevTestLab/labs/readme.md @@ -236,7 +236,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module labs './Microsoft.DevTestLab/labs/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dtllcom' + name: '${uniqueString(deployment().name, location)}-test-dtllcom' params: { // Required parameters name: '<>dtllcom001' @@ -767,7 +767,7 @@ module labs './Microsoft.DevTestLab/labs/deploy.bicep' = { ```bicep module labs './Microsoft.DevTestLab/labs/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dtllmin' + name: '${uniqueString(deployment().name, location)}-test-dtllmin' params: { // Required parameters name: '<>dtllmin001' diff --git a/modules/Microsoft.DocumentDB/databaseAccounts/.test/gremlindb/deploy.test.bicep b/modules/Microsoft.DocumentDB/databaseAccounts/.test/gremlindb/deploy.test.bicep index 98f0cce051..95636a80d8 100644 --- a/modules/Microsoft.DocumentDB/databaseAccounts/.test/gremlindb/deploy.test.bicep +++ b/modules/Microsoft.DocumentDB/databaseAccounts/.test/gremlindb/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}002' diff --git a/modules/Microsoft.DocumentDB/databaseAccounts/.test/mongodb/deploy.test.bicep b/modules/Microsoft.DocumentDB/databaseAccounts/.test/mongodb/deploy.test.bicep index bcfe97696e..64b3a02990 100644 --- a/modules/Microsoft.DocumentDB/databaseAccounts/.test/mongodb/deploy.test.bicep +++ b/modules/Microsoft.DocumentDB/databaseAccounts/.test/mongodb/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DocumentDB/databaseAccounts/.test/plain/deploy.test.bicep b/modules/Microsoft.DocumentDB/databaseAccounts/.test/plain/deploy.test.bicep index ad57520bf8..7756789a59 100644 --- a/modules/Microsoft.DocumentDB/databaseAccounts/.test/plain/deploy.test.bicep +++ b/modules/Microsoft.DocumentDB/databaseAccounts/.test/plain/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DocumentDB/databaseAccounts/.test/sqldb/deploy.test.bicep b/modules/Microsoft.DocumentDB/databaseAccounts/.test/sqldb/deploy.test.bicep index 33dc03fad4..0564b4a031 100644 --- a/modules/Microsoft.DocumentDB/databaseAccounts/.test/sqldb/deploy.test.bicep +++ b/modules/Microsoft.DocumentDB/databaseAccounts/.test/sqldb/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DocumentDB/databaseAccounts/readme.md b/modules/Microsoft.DocumentDB/databaseAccounts/readme.md index df6399edc0..e2ba7d4d50 100644 --- a/modules/Microsoft.DocumentDB/databaseAccounts/readme.md +++ b/modules/Microsoft.DocumentDB/databaseAccounts/readme.md @@ -552,7 +552,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module databaseAccounts './Microsoft.DocumentDB/databaseAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dddagrm' + name: '${uniqueString(deployment().name, location)}-test-dddagrm' params: { // Required parameters locations: [ @@ -777,7 +777,7 @@ module databaseAccounts './Microsoft.DocumentDB/databaseAccounts/deploy.bicep' = ```bicep module databaseAccounts './Microsoft.DocumentDB/databaseAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dddamng' + name: '${uniqueString(deployment().name, location)}-test-dddamng' params: { // Required parameters locations: [ @@ -1266,7 +1266,7 @@ module databaseAccounts './Microsoft.DocumentDB/databaseAccounts/deploy.bicep' = ```bicep module databaseAccounts './Microsoft.DocumentDB/databaseAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dddapln' + name: '${uniqueString(deployment().name, location)}-test-dddapln' params: { // Required parameters locations: [ @@ -1381,7 +1381,7 @@ module databaseAccounts './Microsoft.DocumentDB/databaseAccounts/deploy.bicep' = ```bicep module databaseAccounts './Microsoft.DocumentDB/databaseAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dddasql' + name: '${uniqueString(deployment().name, location)}-test-dddasql' params: { // Required parameters locations: [ diff --git a/modules/Microsoft.EventGrid/domains/.test/common/deploy.test.bicep b/modules/Microsoft.EventGrid/domains/.test/common/deploy.test.bicep index 9b52fc7f3f..b0642c4a19 100644 --- a/modules/Microsoft.EventGrid/domains/.test/common/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/domains/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/domains/.test/min/deploy.test.bicep b/modules/Microsoft.EventGrid/domains/.test/min/deploy.test.bicep index 370980b2fa..bda2a3e387 100644 --- a/modules/Microsoft.EventGrid/domains/.test/min/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/domains/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/domains/.test/pe/deploy.test.bicep b/modules/Microsoft.EventGrid/domains/.test/pe/deploy.test.bicep index fd41353d29..eb2fe79965 100644 --- a/modules/Microsoft.EventGrid/domains/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/domains/.test/pe/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/domains/readme.md b/modules/Microsoft.EventGrid/domains/readme.md index d295d25e45..a5fb4c37ea 100644 --- a/modules/Microsoft.EventGrid/domains/readme.md +++ b/modules/Microsoft.EventGrid/domains/readme.md @@ -285,7 +285,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module domains './Microsoft.EventGrid/domains/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egdcom' + name: '${uniqueString(deployment().name, location)}-test-egdcom' params: { // Required parameters name: '<>egdcom001' @@ -412,7 +412,7 @@ module domains './Microsoft.EventGrid/domains/deploy.bicep' = { ```bicep module domains './Microsoft.EventGrid/domains/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egdmin' + name: '${uniqueString(deployment().name, location)}-test-egdmin' params: { // Required parameters name: '<>egdmin001' @@ -457,7 +457,7 @@ module domains './Microsoft.EventGrid/domains/deploy.bicep' = { ```bicep module domains './Microsoft.EventGrid/domains/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egdpe' + name: '${uniqueString(deployment().name, location)}-test-egdpe' params: { // Required parameters name: '<>egdpe001' diff --git a/modules/Microsoft.EventGrid/systemTopics/.test/common/deploy.test.bicep b/modules/Microsoft.EventGrid/systemTopics/.test/common/deploy.test.bicep index c05dce7443..44f5955cf8 100644 --- a/modules/Microsoft.EventGrid/systemTopics/.test/common/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/systemTopics/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/systemTopics/.test/min/deploy.test.bicep b/modules/Microsoft.EventGrid/systemTopics/.test/min/deploy.test.bicep index 0e3a3cb53e..572713040c 100644 --- a/modules/Microsoft.EventGrid/systemTopics/.test/min/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/systemTopics/.test/min/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/systemTopics/readme.md b/modules/Microsoft.EventGrid/systemTopics/readme.md index 5be134a402..e32656d8d6 100644 --- a/modules/Microsoft.EventGrid/systemTopics/readme.md +++ b/modules/Microsoft.EventGrid/systemTopics/readme.md @@ -289,7 +289,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module systemTopics './Microsoft.EventGrid/systemTopics/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egstcom' + name: '${uniqueString(deployment().name, location)}-test-egstcom' params: { // Required parameters name: '<>egstcom001' @@ -386,7 +386,7 @@ module systemTopics './Microsoft.EventGrid/systemTopics/deploy.bicep' = { ```bicep module systemTopics './Microsoft.EventGrid/systemTopics/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egstmin' + name: '${uniqueString(deployment().name, location)}-test-egstmin' params: { // Required parameters name: '<>egstmin001' diff --git a/modules/Microsoft.EventGrid/topics/.test/common/deploy.test.bicep b/modules/Microsoft.EventGrid/topics/.test/common/deploy.test.bicep index e8e1e9b448..fe9f117a4b 100644 --- a/modules/Microsoft.EventGrid/topics/.test/common/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/topics/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/topics/.test/min/deploy.test.bicep b/modules/Microsoft.EventGrid/topics/.test/min/deploy.test.bicep index 7cb50e0609..082b6d81d2 100644 --- a/modules/Microsoft.EventGrid/topics/.test/min/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/topics/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/topics/.test/pe/deploy.test.bicep b/modules/Microsoft.EventGrid/topics/.test/pe/deploy.test.bicep index 457b365b24..226c7419d6 100644 --- a/modules/Microsoft.EventGrid/topics/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/topics/.test/pe/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/topics/readme.md b/modules/Microsoft.EventGrid/topics/readme.md index 114b019ac9..c3ef81476b 100644 --- a/modules/Microsoft.EventGrid/topics/readme.md +++ b/modules/Microsoft.EventGrid/topics/readme.md @@ -283,7 +283,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module topics './Microsoft.EventGrid/topics/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egtcom' + name: '${uniqueString(deployment().name, location)}-test-egtcom' params: { // Required parameters name: '<>egtcom001' @@ -410,7 +410,7 @@ module topics './Microsoft.EventGrid/topics/deploy.bicep' = { ```bicep module topics './Microsoft.EventGrid/topics/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egtmin' + name: '${uniqueString(deployment().name, location)}-test-egtmin' params: { // Required parameters name: '<>egtmin001' @@ -455,7 +455,7 @@ module topics './Microsoft.EventGrid/topics/deploy.bicep' = { ```bicep module topics './Microsoft.EventGrid/topics/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egtpe' + name: '${uniqueString(deployment().name, location)}-test-egtpe' params: { // Required parameters name: '<>egtpe001' diff --git a/modules/Microsoft.EventHub/namespaces/.test/common/deploy.test.bicep b/modules/Microsoft.EventHub/namespaces/.test/common/deploy.test.bicep index 5bd2cca8a0..009b288235 100644 --- a/modules/Microsoft.EventHub/namespaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.EventHub/namespaces/.test/common/deploy.test.bicep @@ -58,7 +58,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventHub/namespaces/.test/min/deploy.test.bicep b/modules/Microsoft.EventHub/namespaces/.test/min/deploy.test.bicep index 00dc1be35a..f956e25a35 100644 --- a/modules/Microsoft.EventHub/namespaces/.test/min/deploy.test.bicep +++ b/modules/Microsoft.EventHub/namespaces/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventHub/namespaces/.test/pe/deploy.test.bicep b/modules/Microsoft.EventHub/namespaces/.test/pe/deploy.test.bicep index ae0bfaaa85..119d1d766b 100644 --- a/modules/Microsoft.EventHub/namespaces/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.EventHub/namespaces/.test/pe/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventHub/namespaces/readme.md b/modules/Microsoft.EventHub/namespaces/readme.md index 4dba17e344..e4b48dde9e 100644 --- a/modules/Microsoft.EventHub/namespaces/readme.md +++ b/modules/Microsoft.EventHub/namespaces/readme.md @@ -332,7 +332,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module namespaces './Microsoft.EventHub/namespaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ehncom' + name: '${uniqueString(deployment().name, location)}-test-ehncom' params: { // Required parameters name: '<>ehncom001' @@ -633,7 +633,7 @@ module namespaces './Microsoft.EventHub/namespaces/deploy.bicep' = { ```bicep module namespaces './Microsoft.EventHub/namespaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ehnmin' + name: '${uniqueString(deployment().name, location)}-test-ehnmin' params: { // Required parameters name: '<>ehnmin001' @@ -678,7 +678,7 @@ module namespaces './Microsoft.EventHub/namespaces/deploy.bicep' = { ```bicep module namespaces './Microsoft.EventHub/namespaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ehnpe' + name: '${uniqueString(deployment().name, location)}-test-ehnpe' params: { // Required parameters name: '<>ehnpe001' diff --git a/modules/Microsoft.HealthBot/healthBots/.test/common/deploy.test.bicep b/modules/Microsoft.HealthBot/healthBots/.test/common/deploy.test.bicep index 6b8f6c9695..f4b2a5295a 100644 --- a/modules/Microsoft.HealthBot/healthBots/.test/common/deploy.test.bicep +++ b/modules/Microsoft.HealthBot/healthBots/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.HealthBot/healthBots/.test/min/deploy.test.bicep b/modules/Microsoft.HealthBot/healthBots/.test/min/deploy.test.bicep index 69b07444c3..c789f48d55 100644 --- a/modules/Microsoft.HealthBot/healthBots/.test/min/deploy.test.bicep +++ b/modules/Microsoft.HealthBot/healthBots/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.HealthBot/healthBots/readme.md b/modules/Microsoft.HealthBot/healthBots/readme.md index bb0264f7ba..d5e7843f25 100644 --- a/modules/Microsoft.HealthBot/healthBots/readme.md +++ b/modules/Microsoft.HealthBot/healthBots/readme.md @@ -166,7 +166,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module healthBots './Microsoft.HealthBot/healthBots/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-hbhbcom' + name: '${uniqueString(deployment().name, location)}-test-hbhbcom' params: { // Required parameters name: '<>hbhbcom001' @@ -235,7 +235,7 @@ module healthBots './Microsoft.HealthBot/healthBots/deploy.bicep' = { ```bicep module healthBots './Microsoft.HealthBot/healthBots/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-hbhbmin' + name: '${uniqueString(deployment().name, location)}-test-hbhbmin' params: { // Required parameters name: '<>hbhbmin001' diff --git a/modules/Microsoft.Insights/actionGroups/.test/common/deploy.test.bicep b/modules/Microsoft.Insights/actionGroups/.test/common/deploy.test.bicep index e200c0ff46..6ded52bfaa 100644 --- a/modules/Microsoft.Insights/actionGroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Insights/actionGroups/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/actionGroups/.test/min/deploy.test.bicep b/modules/Microsoft.Insights/actionGroups/.test/min/deploy.test.bicep index d3c00168f3..80cefe2ff2 100644 --- a/modules/Microsoft.Insights/actionGroups/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Insights/actionGroups/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/actionGroups/readme.md b/modules/Microsoft.Insights/actionGroups/readme.md index 7648db2e30..e0152ded32 100644 --- a/modules/Microsoft.Insights/actionGroups/readme.md +++ b/modules/Microsoft.Insights/actionGroups/readme.md @@ -252,7 +252,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module actionGroups './Microsoft.Insights/actionGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-iagcom' + name: '${uniqueString(deployment().name, location)}-test-iagcom' params: { // Required parameters groupShortName: 'agiagcom001' @@ -361,7 +361,7 @@ module actionGroups './Microsoft.Insights/actionGroups/deploy.bicep' = { ```bicep module actionGroups './Microsoft.Insights/actionGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-iagmin' + name: '${uniqueString(deployment().name, location)}-test-iagmin' params: { // Required parameters groupShortName: 'agiagmin001' diff --git a/modules/Microsoft.Insights/activityLogAlerts/.test/common/deploy.test.bicep b/modules/Microsoft.Insights/activityLogAlerts/.test/common/deploy.test.bicep index 577f78011e..0ff594199f 100644 --- a/modules/Microsoft.Insights/activityLogAlerts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Insights/activityLogAlerts/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/activityLogAlerts/readme.md b/modules/Microsoft.Insights/activityLogAlerts/readme.md index 49a698c5e5..6313abd768 100644 --- a/modules/Microsoft.Insights/activityLogAlerts/readme.md +++ b/modules/Microsoft.Insights/activityLogAlerts/readme.md @@ -414,7 +414,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module activityLogAlerts './Microsoft.Insights/activityLogAlerts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ialacom' + name: '${uniqueString(deployment().name, location)}-test-ialacom' params: { // Required parameters conditions: [ diff --git a/modules/Microsoft.Insights/components/.test/common/deploy.test.bicep b/modules/Microsoft.Insights/components/.test/common/deploy.test.bicep index efb52f7771..f784d7575e 100644 --- a/modules/Microsoft.Insights/components/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Insights/components/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/components/.test/min/deploy.test.bicep b/modules/Microsoft.Insights/components/.test/min/deploy.test.bicep index 8006e06037..56d8ef6c82 100644 --- a/modules/Microsoft.Insights/components/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Insights/components/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/components/readme.md b/modules/Microsoft.Insights/components/readme.md index 1b4616ce52..5e9148c7d3 100644 --- a/modules/Microsoft.Insights/components/readme.md +++ b/modules/Microsoft.Insights/components/readme.md @@ -170,7 +170,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module components './Microsoft.Insights/components/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-iccom' + name: '${uniqueString(deployment().name, location)}-test-iccom' params: { // Required parameters name: '<>iccom001' @@ -239,7 +239,7 @@ module components './Microsoft.Insights/components/deploy.bicep' = { ```bicep module components './Microsoft.Insights/components/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-icmin' + name: '${uniqueString(deployment().name, location)}-test-icmin' params: { // Required parameters name: '<>icmin001' diff --git a/modules/Microsoft.Insights/diagnosticSettings/.test/common/deploy.test.bicep b/modules/Microsoft.Insights/diagnosticSettings/.test/common/deploy.test.bicep index 943b96d7cb..5a49f8f072 100644 --- a/modules/Microsoft.Insights/diagnosticSettings/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Insights/diagnosticSettings/.test/common/deploy.test.bicep @@ -47,7 +47,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/diagnosticSettings/readme.md b/modules/Microsoft.Insights/diagnosticSettings/readme.md index c1bd2f81ac..c1f7823e5b 100644 --- a/modules/Microsoft.Insights/diagnosticSettings/readme.md +++ b/modules/Microsoft.Insights/diagnosticSettings/readme.md @@ -60,7 +60,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module diagnosticSettings './Microsoft.Insights/diagnosticSettings/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-idscom' + name: '${uniqueString(deployment().name, location)}-test-idscom' params: { diagnosticEventHubAuthorizationRuleId: '' diagnosticEventHubName: '' diff --git a/modules/Microsoft.Insights/metricAlerts/.test/common/deploy.test.bicep b/modules/Microsoft.Insights/metricAlerts/.test/common/deploy.test.bicep index 020013ca24..700d905c3c 100644 --- a/modules/Microsoft.Insights/metricAlerts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Insights/metricAlerts/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/metricAlerts/readme.md b/modules/Microsoft.Insights/metricAlerts/readme.md index 7af039bd90..a608cf48af 100644 --- a/modules/Microsoft.Insights/metricAlerts/readme.md +++ b/modules/Microsoft.Insights/metricAlerts/readme.md @@ -396,7 +396,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module metricAlerts './Microsoft.Insights/metricAlerts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-imacom' + name: '${uniqueString(deployment().name, location)}-test-imacom' params: { // Required parameters criterias: [ diff --git a/modules/Microsoft.Insights/privateLinkScopes/.test/common/deploy.test.bicep b/modules/Microsoft.Insights/privateLinkScopes/.test/common/deploy.test.bicep index 604091f6e3..5fe528a3f9 100644 --- a/modules/Microsoft.Insights/privateLinkScopes/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Insights/privateLinkScopes/.test/common/deploy.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/privateLinkScopes/.test/min/deploy.test.bicep b/modules/Microsoft.Insights/privateLinkScopes/.test/min/deploy.test.bicep index 80d66c7e82..58fb7f3ab5 100644 --- a/modules/Microsoft.Insights/privateLinkScopes/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Insights/privateLinkScopes/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/privateLinkScopes/readme.md b/modules/Microsoft.Insights/privateLinkScopes/readme.md index e6944e4d3a..9881a3ef8b 100644 --- a/modules/Microsoft.Insights/privateLinkScopes/readme.md +++ b/modules/Microsoft.Insights/privateLinkScopes/readme.md @@ -274,7 +274,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module privateLinkScopes './Microsoft.Insights/privateLinkScopes/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-iplscom' + name: '${uniqueString(deployment().name, location)}-test-iplscom' params: { // Required parameters name: '<>iplscom001' @@ -377,7 +377,7 @@ module privateLinkScopes './Microsoft.Insights/privateLinkScopes/deploy.bicep' = ```bicep module privateLinkScopes './Microsoft.Insights/privateLinkScopes/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-iplsmin' + name: '${uniqueString(deployment().name, location)}-test-iplsmin' params: { // Required parameters name: '<>iplsmin001' diff --git a/modules/Microsoft.Insights/scheduledQueryRules/.test/common/deploy.test.bicep b/modules/Microsoft.Insights/scheduledQueryRules/.test/common/deploy.test.bicep index 9f20883858..5e9ae9c2bf 100644 --- a/modules/Microsoft.Insights/scheduledQueryRules/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Insights/scheduledQueryRules/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/scheduledQueryRules/readme.md b/modules/Microsoft.Insights/scheduledQueryRules/readme.md index 0432b10e40..4e62b4da36 100644 --- a/modules/Microsoft.Insights/scheduledQueryRules/readme.md +++ b/modules/Microsoft.Insights/scheduledQueryRules/readme.md @@ -177,7 +177,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module scheduledQueryRules './Microsoft.Insights/scheduledQueryRules/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-isqrcom' + name: '${uniqueString(deployment().name, location)}-test-isqrcom' params: { // Required parameters criterias: { diff --git a/modules/Microsoft.KeyVault/vaults/.test/common/deploy.test.bicep b/modules/Microsoft.KeyVault/vaults/.test/common/deploy.test.bicep index 9019c8133b..25c1633772 100644 --- a/modules/Microsoft.KeyVault/vaults/.test/common/deploy.test.bicep +++ b/modules/Microsoft.KeyVault/vaults/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}002' diff --git a/modules/Microsoft.KeyVault/vaults/.test/min/deploy.test.bicep b/modules/Microsoft.KeyVault/vaults/.test/min/deploy.test.bicep index e2199cf01d..a0dfaf268f 100644 --- a/modules/Microsoft.KeyVault/vaults/.test/min/deploy.test.bicep +++ b/modules/Microsoft.KeyVault/vaults/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}002' diff --git a/modules/Microsoft.KeyVault/vaults/.test/pe/deploy.test.bicep b/modules/Microsoft.KeyVault/vaults/.test/pe/deploy.test.bicep index f1bc0d7957..91ba88ab4b 100644 --- a/modules/Microsoft.KeyVault/vaults/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.KeyVault/vaults/.test/pe/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.KeyVault/vaults/readme.md b/modules/Microsoft.KeyVault/vaults/readme.md index d2bdbf95ad..4125f73134 100644 --- a/modules/Microsoft.KeyVault/vaults/readme.md +++ b/modules/Microsoft.KeyVault/vaults/readme.md @@ -411,7 +411,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module vaults './Microsoft.KeyVault/vaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-kvvcom' + name: '${uniqueString(deployment().name, location)}-test-kvvcom' params: { name: '<>kvvcom002' accessPolicies: [ @@ -710,7 +710,7 @@ module vaults './Microsoft.KeyVault/vaults/deploy.bicep' = { ```bicep module vaults './Microsoft.KeyVault/vaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-kvvmin' + name: '${uniqueString(deployment().name, location)}-test-kvvmin' params: { // Required parameters name: '<>kvvmin002' @@ -759,7 +759,7 @@ module vaults './Microsoft.KeyVault/vaults/deploy.bicep' = { ```bicep module vaults './Microsoft.KeyVault/vaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-kvvpe' + name: '${uniqueString(deployment().name, location)}-test-kvvpe' params: { // Required parameters name: '<>kvvpe001' diff --git a/modules/Microsoft.KubernetesConfiguration/extensions/.test/common/deploy.test.bicep b/modules/Microsoft.KubernetesConfiguration/extensions/.test/common/deploy.test.bicep index fca8970244..fe7a163d10 100644 --- a/modules/Microsoft.KubernetesConfiguration/extensions/.test/common/deploy.test.bicep +++ b/modules/Microsoft.KubernetesConfiguration/extensions/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.KubernetesConfiguration/extensions/.test/min/deploy.test.bicep b/modules/Microsoft.KubernetesConfiguration/extensions/.test/min/deploy.test.bicep index 509fb55c6e..e5b431669a 100644 --- a/modules/Microsoft.KubernetesConfiguration/extensions/.test/min/deploy.test.bicep +++ b/modules/Microsoft.KubernetesConfiguration/extensions/.test/min/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.KubernetesConfiguration/extensions/readme.md b/modules/Microsoft.KubernetesConfiguration/extensions/readme.md index a7eecf9bb6..08d5c117f1 100644 --- a/modules/Microsoft.KubernetesConfiguration/extensions/readme.md +++ b/modules/Microsoft.KubernetesConfiguration/extensions/readme.md @@ -86,7 +86,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module extensions './Microsoft.KubernetesConfiguration/extensions/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-kcecom' + name: '${uniqueString(deployment().name, location)}-test-kcecom' params: { // Required parameters clusterName: '' @@ -167,7 +167,7 @@ module extensions './Microsoft.KubernetesConfiguration/extensions/deploy.bicep' ```bicep module extensions './Microsoft.KubernetesConfiguration/extensions/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-kcemin' + name: '${uniqueString(deployment().name, location)}-test-kcemin' params: { // Required parameters clusterName: '' diff --git a/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/common/deploy.test.bicep b/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/common/deploy.test.bicep index db7b66790c..2b8bbddac2 100644 --- a/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/common/deploy.test.bicep +++ b/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/common/deploy.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/min/deploy.test.bicep b/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/min/deploy.test.bicep index 58b9b78d28..67603fa1e2 100644 --- a/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/min/deploy.test.bicep +++ b/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/min/deploy.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/readme.md b/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/readme.md index 1d209d0e70..4d281df1d9 100644 --- a/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/readme.md +++ b/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/readme.md @@ -87,7 +87,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module fluxConfigurations './Microsoft.KubernetesConfiguration/fluxConfigurations/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-kcfccom' + name: '${uniqueString(deployment().name, location)}-test-kcfccom' params: { // Required parameters clusterName: '' @@ -186,7 +186,7 @@ module fluxConfigurations './Microsoft.KubernetesConfiguration/fluxConfiguration ```bicep module fluxConfigurations './Microsoft.KubernetesConfiguration/fluxConfigurations/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-kcfcmin' + name: '${uniqueString(deployment().name, location)}-test-kcfcmin' params: { // Required parameters clusterName: '' diff --git a/modules/Microsoft.Logic/workflows/.test/common/deploy.test.bicep b/modules/Microsoft.Logic/workflows/.test/common/deploy.test.bicep index 1aaa1007eb..4fb65d9d9e 100644 --- a/modules/Microsoft.Logic/workflows/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Logic/workflows/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Logic/workflows/readme.md b/modules/Microsoft.Logic/workflows/readme.md index 738c07cfc1..e338e09f2a 100644 --- a/modules/Microsoft.Logic/workflows/readme.md +++ b/modules/Microsoft.Logic/workflows/readme.md @@ -332,7 +332,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module workflows './Microsoft.Logic/workflows/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-lwcom' + name: '${uniqueString(deployment().name, location)}-test-lwcom' params: { // Required parameters name: '<>lwcom001' diff --git a/modules/Microsoft.MachineLearningServices/workspaces/.test/common/deploy.test.bicep b/modules/Microsoft.MachineLearningServices/workspaces/.test/common/deploy.test.bicep index d6f9578141..a55201b9e6 100644 --- a/modules/Microsoft.MachineLearningServices/workspaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.MachineLearningServices/workspaces/.test/common/deploy.test.bicep @@ -60,7 +60,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.MachineLearningServices/workspaces/.test/encr/deploy.test.bicep b/modules/Microsoft.MachineLearningServices/workspaces/.test/encr/deploy.test.bicep index 69cadb52d6..9f1fc594ae 100644 --- a/modules/Microsoft.MachineLearningServices/workspaces/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.MachineLearningServices/workspaces/.test/encr/deploy.test.bicep @@ -50,7 +50,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.MachineLearningServices/workspaces/.test/min/deploy.test.bicep b/modules/Microsoft.MachineLearningServices/workspaces/.test/min/deploy.test.bicep index d106e2b4d7..da185763ad 100644 --- a/modules/Microsoft.MachineLearningServices/workspaces/.test/min/deploy.test.bicep +++ b/modules/Microsoft.MachineLearningServices/workspaces/.test/min/deploy.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.MachineLearningServices/workspaces/readme.md b/modules/Microsoft.MachineLearningServices/workspaces/readme.md index 6ce3365795..a763abdcc1 100644 --- a/modules/Microsoft.MachineLearningServices/workspaces/readme.md +++ b/modules/Microsoft.MachineLearningServices/workspaces/readme.md @@ -448,7 +448,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module workspaces './Microsoft.MachineLearningServices/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-mlswcom' + name: '${uniqueString(deployment().name, location)}-test-mlswcom' params: { // Required parameters associatedApplicationInsightsResourceId: '' @@ -663,7 +663,7 @@ module workspaces './Microsoft.MachineLearningServices/workspaces/deploy.bicep' ```bicep module workspaces './Microsoft.MachineLearningServices/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-mlswecr' + name: '${uniqueString(deployment().name, location)}-test-mlswecr' params: { // Required parameters associatedApplicationInsightsResourceId: '' @@ -776,7 +776,7 @@ module workspaces './Microsoft.MachineLearningServices/workspaces/deploy.bicep' ```bicep module workspaces './Microsoft.MachineLearningServices/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-mlswmin' + name: '${uniqueString(deployment().name, location)}-test-mlswmin' params: { // Required parameters associatedApplicationInsightsResourceId: '' diff --git a/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/common/deploy.test.bicep b/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/common/deploy.test.bicep index 68494bc4b1..e5d17d3016 100644 --- a/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/min/deploy.test.bicep b/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/min/deploy.test.bicep index f6ca9c2829..8b4f3a3107 100644 --- a/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Maintenance/maintenanceConfigurations/readme.md b/modules/Microsoft.Maintenance/maintenanceConfigurations/readme.md index c012944ee3..364ee0f25c 100644 --- a/modules/Microsoft.Maintenance/maintenanceConfigurations/readme.md +++ b/modules/Microsoft.Maintenance/maintenanceConfigurations/readme.md @@ -206,7 +206,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module maintenanceConfigurations './Microsoft.Maintenance/maintenanceConfigurations/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-mmccom' + name: '${uniqueString(deployment().name, location)}-test-mmccom' params: { // Required parameters name: '<>mmccom001' @@ -313,7 +313,7 @@ module maintenanceConfigurations './Microsoft.Maintenance/maintenanceConfigurati ```bicep module maintenanceConfigurations './Microsoft.Maintenance/maintenanceConfigurations/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-mmcmin' + name: '${uniqueString(deployment().name, location)}-test-mmcmin' params: { // Required parameters name: '<>mmcmin001' diff --git a/modules/Microsoft.ManagedIdentity/userAssignedIdentities/.test/common/deploy.test.bicep b/modules/Microsoft.ManagedIdentity/userAssignedIdentities/.test/common/deploy.test.bicep index 4804d77b48..2c2d448c18 100644 --- a/modules/Microsoft.ManagedIdentity/userAssignedIdentities/.test/common/deploy.test.bicep +++ b/modules/Microsoft.ManagedIdentity/userAssignedIdentities/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ManagedIdentity/userAssignedIdentities/readme.md b/modules/Microsoft.ManagedIdentity/userAssignedIdentities/readme.md index 1766338bb7..ec3984508d 100644 --- a/modules/Microsoft.ManagedIdentity/userAssignedIdentities/readme.md +++ b/modules/Microsoft.ManagedIdentity/userAssignedIdentities/readme.md @@ -161,7 +161,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module userAssignedIdentities './Microsoft.ManagedIdentity/userAssignedIdentities/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-miuaicom' + name: '${uniqueString(deployment().name, location)}-test-miuaicom' params: { enableDefaultTelemetry: '' lock: 'CanNotDelete' diff --git a/modules/Microsoft.ManagedServices/registrationDefinitions/.test/rg/deploy.test.bicep b/modules/Microsoft.ManagedServices/registrationDefinitions/.test/rg/deploy.test.bicep index 6d944597e7..c5f8a9474d 100644 --- a/modules/Microsoft.ManagedServices/registrationDefinitions/.test/rg/deploy.test.bicep +++ b/modules/Microsoft.ManagedServices/registrationDefinitions/.test/rg/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: 'Component Validation - <>${serviceShort} Resource group assignment' diff --git a/modules/Microsoft.ManagedServices/registrationDefinitions/readme.md b/modules/Microsoft.ManagedServices/registrationDefinitions/readme.md index 5c1d561553..924da9a234 100644 --- a/modules/Microsoft.ManagedServices/registrationDefinitions/readme.md +++ b/modules/Microsoft.ManagedServices/registrationDefinitions/readme.md @@ -274,7 +274,7 @@ module registrationDefinitions './Microsoft.ManagedServices/registrationDefiniti ```bicep module registrationDefinitions './Microsoft.ManagedServices/registrationDefinitions/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-msrdrg' + name: '${uniqueString(deployment().name, location)}-test-msrdrg' params: { // Required parameters authorizations: [ diff --git a/modules/Microsoft.NetApp/netAppAccounts/.test/min/deploy.test.bicep b/modules/Microsoft.NetApp/netAppAccounts/.test/min/deploy.test.bicep index edb4d3e0d3..76b8c7ac82 100644 --- a/modules/Microsoft.NetApp/netAppAccounts/.test/min/deploy.test.bicep +++ b/modules/Microsoft.NetApp/netAppAccounts/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.NetApp/netAppAccounts/.test/nfs3/deploy.test.bicep b/modules/Microsoft.NetApp/netAppAccounts/.test/nfs3/deploy.test.bicep index 5feee02b7d..e76a36b77e 100644 --- a/modules/Microsoft.NetApp/netAppAccounts/.test/nfs3/deploy.test.bicep +++ b/modules/Microsoft.NetApp/netAppAccounts/.test/nfs3/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.NetApp/netAppAccounts/.test/nfs41/deploy.test.bicep b/modules/Microsoft.NetApp/netAppAccounts/.test/nfs41/deploy.test.bicep index fc6043bc8c..3b4b4983d4 100644 --- a/modules/Microsoft.NetApp/netAppAccounts/.test/nfs41/deploy.test.bicep +++ b/modules/Microsoft.NetApp/netAppAccounts/.test/nfs41/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.NetApp/netAppAccounts/readme.md b/modules/Microsoft.NetApp/netAppAccounts/readme.md index cb614afd13..31a60959dd 100644 --- a/modules/Microsoft.NetApp/netAppAccounts/readme.md +++ b/modules/Microsoft.NetApp/netAppAccounts/readme.md @@ -174,7 +174,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module netAppAccounts './Microsoft.NetApp/netAppAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nanaamin' + name: '${uniqueString(deployment().name, location)}-test-nanaamin' params: { // Required parameters name: '<>nanaamin001' @@ -219,7 +219,7 @@ module netAppAccounts './Microsoft.NetApp/netAppAccounts/deploy.bicep' = { ```bicep module netAppAccounts './Microsoft.NetApp/netAppAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nanaanfs3' + name: '${uniqueString(deployment().name, location)}-test-nanaanfs3' params: { // Required parameters name: '<>nanaanfs3001' @@ -444,7 +444,7 @@ module netAppAccounts './Microsoft.NetApp/netAppAccounts/deploy.bicep' = { ```bicep module netAppAccounts './Microsoft.NetApp/netAppAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nanaanfs41' + name: '${uniqueString(deployment().name, location)}-test-nanaanfs41' params: { // Required parameters name: '<>nanaanfs41001' diff --git a/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/.test/common/deploy.test.bicep b/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/.test/common/deploy.test.bicep index 476290cafa..0ba6a5b5c5 100644 --- a/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/.test/common/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/readme.md b/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/readme.md index 42b1568a44..a0c4dd8557 100644 --- a/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/readme.md +++ b/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/readme.md @@ -105,7 +105,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module applicationGatewayWebApplicationFirewallPolicies './Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nagwafpcom' + name: '${uniqueString(deployment().name, location)}-test-nagwafpcom' params: { // Required parameters name: '<>nagwafpcom001' diff --git a/modules/Microsoft.Network/applicationGateways/.test/common/deploy.test.bicep b/modules/Microsoft.Network/applicationGateways/.test/common/deploy.test.bicep index ee0daa5eb8..2fc92eb815 100644 --- a/modules/Microsoft.Network/applicationGateways/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/applicationGateways/.test/common/deploy.test.bicep @@ -62,7 +62,7 @@ var appGWName = '<>${serviceShort}001' var appGWExpectedResourceID = '${resourceGroup.id}/providers/Microsoft.Network/applicationGateways/${appGWName}' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: appGWName diff --git a/modules/Microsoft.Network/applicationGateways/readme.md b/modules/Microsoft.Network/applicationGateways/readme.md index 9be92e8bbc..71fcb1cea4 100644 --- a/modules/Microsoft.Network/applicationGateways/readme.md +++ b/modules/Microsoft.Network/applicationGateways/readme.md @@ -242,7 +242,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module applicationGateways './Microsoft.Network/applicationGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nagcom' + name: '${uniqueString(deployment().name, location)}-test-nagcom' params: { // Required parameters name: '' diff --git a/modules/Microsoft.Network/applicationSecurityGroups/.test/common/deploy.test.bicep b/modules/Microsoft.Network/applicationSecurityGroups/.test/common/deploy.test.bicep index aba34ac573..6fc4c69f5b 100644 --- a/modules/Microsoft.Network/applicationSecurityGroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/applicationSecurityGroups/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/applicationSecurityGroups/readme.md b/modules/Microsoft.Network/applicationSecurityGroups/readme.md index 2e3ac349f6..0733b895ea 100644 --- a/modules/Microsoft.Network/applicationSecurityGroups/readme.md +++ b/modules/Microsoft.Network/applicationSecurityGroups/readme.md @@ -165,7 +165,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module applicationSecurityGroups './Microsoft.Network/applicationSecurityGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nasgcom' + name: '${uniqueString(deployment().name, location)}-test-nasgcom' params: { // Required parameters name: '<>nasgcom001' diff --git a/modules/Microsoft.Network/azureFirewalls/.test/addpip/deploy.test.bicep b/modules/Microsoft.Network/azureFirewalls/.test/addpip/deploy.test.bicep index 2c8f8a3fd8..05a876dd0f 100644 --- a/modules/Microsoft.Network/azureFirewalls/.test/addpip/deploy.test.bicep +++ b/modules/Microsoft.Network/azureFirewalls/.test/addpip/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/azureFirewalls/.test/common/deploy.test.bicep b/modules/Microsoft.Network/azureFirewalls/.test/common/deploy.test.bicep index df0a88b3a7..fe8d8582df 100644 --- a/modules/Microsoft.Network/azureFirewalls/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/azureFirewalls/.test/common/deploy.test.bicep @@ -58,7 +58,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/azureFirewalls/.test/custompip/deploy.test.bicep b/modules/Microsoft.Network/azureFirewalls/.test/custompip/deploy.test.bicep index 3ba9ee7d4c..b56fd18c91 100644 --- a/modules/Microsoft.Network/azureFirewalls/.test/custompip/deploy.test.bicep +++ b/modules/Microsoft.Network/azureFirewalls/.test/custompip/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/azureFirewalls/.test/hub/deploy.test.bicep b/modules/Microsoft.Network/azureFirewalls/.test/hub/deploy.test.bicep index f258f2810a..e2056847f4 100644 --- a/modules/Microsoft.Network/azureFirewalls/.test/hub/deploy.test.bicep +++ b/modules/Microsoft.Network/azureFirewalls/.test/hub/deploy.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/azureFirewalls/.test/min/deploy.test.bicep b/modules/Microsoft.Network/azureFirewalls/.test/min/deploy.test.bicep index fb3f5544c4..57b363b9c6 100644 --- a/modules/Microsoft.Network/azureFirewalls/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/azureFirewalls/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/azureFirewalls/readme.md b/modules/Microsoft.Network/azureFirewalls/readme.md index 7ee4314088..76070d5f42 100644 --- a/modules/Microsoft.Network/azureFirewalls/readme.md +++ b/modules/Microsoft.Network/azureFirewalls/readme.md @@ -329,7 +329,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nafaddpip' + name: '${uniqueString(deployment().name, location)}-test-nafaddpip' params: { // Required parameters name: '<>nafaddpip001' @@ -392,7 +392,7 @@ module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { ```bicep module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nafcom' + name: '${uniqueString(deployment().name, location)}-test-nafcom' params: { // Required parameters name: '<>nafcom001' @@ -667,7 +667,7 @@ module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { ```bicep module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nafcstpip' + name: '${uniqueString(deployment().name, location)}-test-nafcstpip' params: { // Required parameters name: '<>nafcstpip001' @@ -766,7 +766,7 @@ module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { ```bicep module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nafhub' + name: '${uniqueString(deployment().name, location)}-test-nafhub' params: { // Required parameters name: '<>nafhub001' @@ -831,7 +831,7 @@ module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { ```bicep module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nafmin' + name: '${uniqueString(deployment().name, location)}-test-nafmin' params: { // Required parameters name: '<>nafmin001' diff --git a/modules/Microsoft.Network/bastionHosts/.test/common/deploy.test.bicep b/modules/Microsoft.Network/bastionHosts/.test/common/deploy.test.bicep index c298b7f50a..963ac70953 100644 --- a/modules/Microsoft.Network/bastionHosts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/bastionHosts/.test/common/deploy.test.bicep @@ -58,7 +58,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/bastionHosts/.test/custompip/deploy.test.bicep b/modules/Microsoft.Network/bastionHosts/.test/custompip/deploy.test.bicep index dfb5c7a21e..8729591e8c 100644 --- a/modules/Microsoft.Network/bastionHosts/.test/custompip/deploy.test.bicep +++ b/modules/Microsoft.Network/bastionHosts/.test/custompip/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/bastionHosts/.test/min/deploy.test.bicep b/modules/Microsoft.Network/bastionHosts/.test/min/deploy.test.bicep index 7f290c4d3a..39327b1c16 100644 --- a/modules/Microsoft.Network/bastionHosts/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/bastionHosts/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/bastionHosts/readme.md b/modules/Microsoft.Network/bastionHosts/readme.md index 22bced603c..62b06c8652 100644 --- a/modules/Microsoft.Network/bastionHosts/readme.md +++ b/modules/Microsoft.Network/bastionHosts/readme.md @@ -310,7 +310,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module bastionHosts './Microsoft.Network/bastionHosts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nbhcom' + name: '${uniqueString(deployment().name, location)}-test-nbhcom' params: { // Required parameters name: '<>nbhcom001' @@ -431,7 +431,7 @@ module bastionHosts './Microsoft.Network/bastionHosts/deploy.bicep' = { ```bicep module bastionHosts './Microsoft.Network/bastionHosts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nbhctmpip' + name: '${uniqueString(deployment().name, location)}-test-nbhctmpip' params: { // Required parameters name: '<>nbhctmpip001' @@ -530,7 +530,7 @@ module bastionHosts './Microsoft.Network/bastionHosts/deploy.bicep' = { ```bicep module bastionHosts './Microsoft.Network/bastionHosts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nbhmin' + name: '${uniqueString(deployment().name, location)}-test-nbhmin' params: { // Required parameters name: '<>nbhmin001' diff --git a/modules/Microsoft.Network/connections/.test/vnet2vnet/deploy.test.bicep b/modules/Microsoft.Network/connections/.test/vnet2vnet/deploy.test.bicep index 651ca53ccc..84a9f3072d 100644 --- a/modules/Microsoft.Network/connections/.test/vnet2vnet/deploy.test.bicep +++ b/modules/Microsoft.Network/connections/.test/vnet2vnet/deploy.test.bicep @@ -51,7 +51,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/connections/readme.md b/modules/Microsoft.Network/connections/readme.md index e043e20490..97e453eafb 100644 --- a/modules/Microsoft.Network/connections/readme.md +++ b/modules/Microsoft.Network/connections/readme.md @@ -324,7 +324,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module connections './Microsoft.Network/connections/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ncvtv' + name: '${uniqueString(deployment().name, location)}-test-ncvtv' params: { // Required parameters name: '<>ncvtv001' diff --git a/modules/Microsoft.Network/ddosProtectionPlans/.test/common/deploy.test.bicep b/modules/Microsoft.Network/ddosProtectionPlans/.test/common/deploy.test.bicep index f64013b769..8bb53b5146 100644 --- a/modules/Microsoft.Network/ddosProtectionPlans/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/ddosProtectionPlans/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/ddosProtectionPlans/.test/min/deploy.test.bicep b/modules/Microsoft.Network/ddosProtectionPlans/.test/min/deploy.test.bicep index 546e8b5eb3..751e03027a 100644 --- a/modules/Microsoft.Network/ddosProtectionPlans/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/ddosProtectionPlans/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/ddosProtectionPlans/readme.md b/modules/Microsoft.Network/ddosProtectionPlans/readme.md index b454c908a0..1a468d5988 100644 --- a/modules/Microsoft.Network/ddosProtectionPlans/readme.md +++ b/modules/Microsoft.Network/ddosProtectionPlans/readme.md @@ -165,7 +165,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module ddosProtectionPlans './Microsoft.Network/ddosProtectionPlans/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ndppcom' + name: '${uniqueString(deployment().name, location)}-test-ndppcom' params: { // Required parameters name: '<>ndppcom001' @@ -234,7 +234,7 @@ module ddosProtectionPlans './Microsoft.Network/ddosProtectionPlans/deploy.bicep ```bicep module ddosProtectionPlans './Microsoft.Network/ddosProtectionPlans/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ndppmin' + name: '${uniqueString(deployment().name, location)}-test-ndppmin' params: { // Required parameters name: '<>ndppmin001' diff --git a/modules/Microsoft.Network/dnsResolvers/.test/common/deploy.test.bicep b/modules/Microsoft.Network/dnsResolvers/.test/common/deploy.test.bicep index b0b4837e2b..05aa5abf7f 100644 --- a/modules/Microsoft.Network/dnsResolvers/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/dnsResolvers/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/dnsResolvers/readme.md b/modules/Microsoft.Network/dnsResolvers/readme.md index 36afdce841..cb7304d127 100644 --- a/modules/Microsoft.Network/dnsResolvers/readme.md +++ b/modules/Microsoft.Network/dnsResolvers/readme.md @@ -252,7 +252,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module dnsResolvers './Microsoft.Network/dnsResolvers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ndrcom' + name: '${uniqueString(deployment().name, location)}-test-ndrcom' params: { // Required parameters name: '<>ndrcom001' diff --git a/modules/Microsoft.Network/expressRouteCircuits/.test/common/deploy.test.bicep b/modules/Microsoft.Network/expressRouteCircuits/.test/common/deploy.test.bicep index 29e24d0fbb..7f8430045b 100644 --- a/modules/Microsoft.Network/expressRouteCircuits/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/expressRouteCircuits/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/expressRouteCircuits/.test/min/deploy.test.bicep b/modules/Microsoft.Network/expressRouteCircuits/.test/min/deploy.test.bicep index 37644ac45c..1a0385336e 100644 --- a/modules/Microsoft.Network/expressRouteCircuits/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/expressRouteCircuits/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/expressRouteCircuits/readme.md b/modules/Microsoft.Network/expressRouteCircuits/readme.md index ec4e84e039..9757032943 100644 --- a/modules/Microsoft.Network/expressRouteCircuits/readme.md +++ b/modules/Microsoft.Network/expressRouteCircuits/readme.md @@ -187,7 +187,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module expressRouteCircuits './Microsoft.Network/expressRouteCircuits/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nerccom' + name: '${uniqueString(deployment().name, location)}-test-nerccom' params: { // Required parameters bandwidthInMbps: 50 @@ -296,7 +296,7 @@ module expressRouteCircuits './Microsoft.Network/expressRouteCircuits/deploy.bic ```bicep module expressRouteCircuits './Microsoft.Network/expressRouteCircuits/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nercmin' + name: '${uniqueString(deployment().name, location)}-test-nercmin' params: { // Required parameters bandwidthInMbps: 50 diff --git a/modules/Microsoft.Network/firewallPolicies/.test/common/deploy.test.bicep b/modules/Microsoft.Network/firewallPolicies/.test/common/deploy.test.bicep index f2b6da0dee..5cdfe48582 100644 --- a/modules/Microsoft.Network/firewallPolicies/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/firewallPolicies/.test/common/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/firewallPolicies/.test/min/deploy.test.bicep b/modules/Microsoft.Network/firewallPolicies/.test/min/deploy.test.bicep index 949c365e98..a279cea18d 100644 --- a/modules/Microsoft.Network/firewallPolicies/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/firewallPolicies/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/firewallPolicies/readme.md b/modules/Microsoft.Network/firewallPolicies/readme.md index fb6c1a02c6..5719472be0 100644 --- a/modules/Microsoft.Network/firewallPolicies/readme.md +++ b/modules/Microsoft.Network/firewallPolicies/readme.md @@ -156,7 +156,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module firewallPolicies './Microsoft.Network/firewallPolicies/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nfpcom' + name: '${uniqueString(deployment().name, location)}-test-nfpcom' params: { // Required parameters name: '<>nfpcom001' @@ -279,7 +279,7 @@ module firewallPolicies './Microsoft.Network/firewallPolicies/deploy.bicep' = { ```bicep module firewallPolicies './Microsoft.Network/firewallPolicies/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nfpmin' + name: '${uniqueString(deployment().name, location)}-test-nfpmin' params: { // Required parameters name: '<>nfpmin001' diff --git a/modules/Microsoft.Network/frontDoors/.test/common/deploy.test.bicep b/modules/Microsoft.Network/frontDoors/.test/common/deploy.test.bicep index 78f718389b..b2c088d621 100644 --- a/modules/Microsoft.Network/frontDoors/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/frontDoors/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { var resourceName = '<>${serviceShort}001' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: resourceName diff --git a/modules/Microsoft.Network/frontDoors/.test/min/deploy.test.bicep b/modules/Microsoft.Network/frontDoors/.test/min/deploy.test.bicep index 78395d7edf..a64556800a 100644 --- a/modules/Microsoft.Network/frontDoors/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/frontDoors/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { var resourceName = '<>${serviceShort}001' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: resourceName diff --git a/modules/Microsoft.Network/frontDoors/readme.md b/modules/Microsoft.Network/frontDoors/readme.md index e62e529fae..815d85c68c 100644 --- a/modules/Microsoft.Network/frontDoors/readme.md +++ b/modules/Microsoft.Network/frontDoors/readme.md @@ -182,7 +182,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module frontDoors './Microsoft.Network/frontDoors/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nfdcom' + name: '${uniqueString(deployment().name, location)}-test-nfdcom' params: { // Required parameters backendPools: [ @@ -443,7 +443,7 @@ module frontDoors './Microsoft.Network/frontDoors/deploy.bicep' = { ```bicep module frontDoors './Microsoft.Network/frontDoors/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nfdmin' + name: '${uniqueString(deployment().name, location)}-test-nfdmin' params: { // Required parameters backendPools: [ diff --git a/modules/Microsoft.Network/ipGroups/.test/common/deploy.test.bicep b/modules/Microsoft.Network/ipGroups/.test/common/deploy.test.bicep index bf0b2ecf03..e334d23f62 100644 --- a/modules/Microsoft.Network/ipGroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/ipGroups/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/ipGroups/.test/min/deploy.test.bicep b/modules/Microsoft.Network/ipGroups/.test/min/deploy.test.bicep index e51d1e72dc..81beb4d4c5 100644 --- a/modules/Microsoft.Network/ipGroups/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/ipGroups/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/ipGroups/readme.md b/modules/Microsoft.Network/ipGroups/readme.md index 545bb63139..382f92723d 100644 --- a/modules/Microsoft.Network/ipGroups/readme.md +++ b/modules/Microsoft.Network/ipGroups/readme.md @@ -166,7 +166,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module ipGroups './Microsoft.Network/ipGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nigcom' + name: '${uniqueString(deployment().name, location)}-test-nigcom' params: { // Required parameters name: '<>nigcom001' @@ -245,7 +245,7 @@ module ipGroups './Microsoft.Network/ipGroups/deploy.bicep' = { ```bicep module ipGroups './Microsoft.Network/ipGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nigmin' + name: '${uniqueString(deployment().name, location)}-test-nigmin' params: { // Required parameters name: '<>nigmin001' diff --git a/modules/Microsoft.Network/loadBalancers/.test/common/deploy.test.bicep b/modules/Microsoft.Network/loadBalancers/.test/common/deploy.test.bicep index 1a3806be38..38abc7f51a 100644 --- a/modules/Microsoft.Network/loadBalancers/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/loadBalancers/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/loadBalancers/.test/internal/deploy.test.bicep b/modules/Microsoft.Network/loadBalancers/.test/internal/deploy.test.bicep index 237c3abe4e..759c5b9dcd 100644 --- a/modules/Microsoft.Network/loadBalancers/.test/internal/deploy.test.bicep +++ b/modules/Microsoft.Network/loadBalancers/.test/internal/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/loadBalancers/.test/min/deploy.test.bicep b/modules/Microsoft.Network/loadBalancers/.test/min/deploy.test.bicep index 9d101cc90f..af71851eb1 100644 --- a/modules/Microsoft.Network/loadBalancers/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/loadBalancers/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/loadBalancers/readme.md b/modules/Microsoft.Network/loadBalancers/readme.md index c7aa6d7b7a..c8c2d2edfe 100644 --- a/modules/Microsoft.Network/loadBalancers/readme.md +++ b/modules/Microsoft.Network/loadBalancers/readme.md @@ -479,7 +479,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module loadBalancers './Microsoft.Network/loadBalancers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nlbcom' + name: '${uniqueString(deployment().name, location)}-test-nlbcom' params: { // Required parameters frontendIPConfigurations: [ @@ -740,7 +740,7 @@ module loadBalancers './Microsoft.Network/loadBalancers/deploy.bicep' = { ```bicep module loadBalancers './Microsoft.Network/loadBalancers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nlbint' + name: '${uniqueString(deployment().name, location)}-test-nlbint' params: { // Required parameters frontendIPConfigurations: [ @@ -947,7 +947,7 @@ module loadBalancers './Microsoft.Network/loadBalancers/deploy.bicep' = { ```bicep module loadBalancers './Microsoft.Network/loadBalancers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nlbmin' + name: '${uniqueString(deployment().name, location)}-test-nlbmin' params: { // Required parameters frontendIPConfigurations: [ diff --git a/modules/Microsoft.Network/localNetworkGateways/.test/common/deploy.test.bicep b/modules/Microsoft.Network/localNetworkGateways/.test/common/deploy.test.bicep index 810381b816..7c5130a29b 100644 --- a/modules/Microsoft.Network/localNetworkGateways/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/localNetworkGateways/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/localNetworkGateways/.test/min/deploy.test.bicep b/modules/Microsoft.Network/localNetworkGateways/.test/min/deploy.test.bicep index d7561d4dcd..db5d7789da 100644 --- a/modules/Microsoft.Network/localNetworkGateways/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/localNetworkGateways/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/localNetworkGateways/readme.md b/modules/Microsoft.Network/localNetworkGateways/readme.md index 94ab304a5e..b8cd0db687 100644 --- a/modules/Microsoft.Network/localNetworkGateways/readme.md +++ b/modules/Microsoft.Network/localNetworkGateways/readme.md @@ -171,7 +171,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module localNetworkGateways './Microsoft.Network/localNetworkGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nlngcom' + name: '${uniqueString(deployment().name, location)}-test-nlngcom' params: { // Required parameters localAddressPrefixes: [ @@ -260,7 +260,7 @@ module localNetworkGateways './Microsoft.Network/localNetworkGateways/deploy.bic ```bicep module localNetworkGateways './Microsoft.Network/localNetworkGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nlngmin' + name: '${uniqueString(deployment().name, location)}-test-nlngmin' params: { // Required parameters localAddressPrefixes: [ diff --git a/modules/Microsoft.Network/natGateways/.test/common/deploy.test.bicep b/modules/Microsoft.Network/natGateways/.test/common/deploy.test.bicep index ec0c6899d4..76af723f79 100644 --- a/modules/Microsoft.Network/natGateways/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/natGateways/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/natGateways/readme.md b/modules/Microsoft.Network/natGateways/readme.md index 299e61ae10..74440ee945 100644 --- a/modules/Microsoft.Network/natGateways/readme.md +++ b/modules/Microsoft.Network/natGateways/readme.md @@ -183,7 +183,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module natGateways './Microsoft.Network/natGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nngcom' + name: '${uniqueString(deployment().name, location)}-test-nngcom' params: { // Required parameters name: '<>nngcom001' diff --git a/modules/Microsoft.Network/networkInterfaces/.test/common/deploy.test.bicep b/modules/Microsoft.Network/networkInterfaces/.test/common/deploy.test.bicep index 638d976326..adf5e3877e 100644 --- a/modules/Microsoft.Network/networkInterfaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/networkInterfaces/.test/common/deploy.test.bicep @@ -59,7 +59,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/networkInterfaces/.test/min/deploy.test.bicep b/modules/Microsoft.Network/networkInterfaces/.test/min/deploy.test.bicep index 921fab6995..d78c098c8e 100644 --- a/modules/Microsoft.Network/networkInterfaces/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/networkInterfaces/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/networkInterfaces/readme.md b/modules/Microsoft.Network/networkInterfaces/readme.md index c316337645..22eceb38d7 100644 --- a/modules/Microsoft.Network/networkInterfaces/readme.md +++ b/modules/Microsoft.Network/networkInterfaces/readme.md @@ -199,7 +199,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module networkInterfaces './Microsoft.Network/networkInterfaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nnicom' + name: '${uniqueString(deployment().name, location)}-test-nnicom' params: { // Required parameters ipConfigurations: [ @@ -338,7 +338,7 @@ module networkInterfaces './Microsoft.Network/networkInterfaces/deploy.bicep' = ```bicep module networkInterfaces './Microsoft.Network/networkInterfaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nnimin' + name: '${uniqueString(deployment().name, location)}-test-nnimin' params: { // Required parameters ipConfigurations: [ diff --git a/modules/Microsoft.Network/networkManagers/.test/common/deploy.test.bicep b/modules/Microsoft.Network/networkManagers/.test/common/deploy.test.bicep index 9339ce6754..4878240c09 100644 --- a/modules/Microsoft.Network/networkManagers/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/networkManagers/.test/common/deploy.test.bicep @@ -49,7 +49,7 @@ var networkManagerExpecetedResourceID = '${resourceGroup.id}/providers/Microsoft module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: networkManagerName enableDefaultTelemetry: enableDefaultTelemetry diff --git a/modules/Microsoft.Network/networkManagers/readme.md b/modules/Microsoft.Network/networkManagers/readme.md index d9452ac145..63b1c7bd84 100644 --- a/modules/Microsoft.Network/networkManagers/readme.md +++ b/modules/Microsoft.Network/networkManagers/readme.md @@ -553,7 +553,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module networkManagers './Microsoft.Network/networkManagers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nnmcom' + name: '${uniqueString(deployment().name, location)}-test-nnmcom' params: { // Required parameters name: '' diff --git a/modules/Microsoft.Network/networkSecurityGroups/.test/common/deploy.test.bicep b/modules/Microsoft.Network/networkSecurityGroups/.test/common/deploy.test.bicep index 858f08a800..f576ff6848 100644 --- a/modules/Microsoft.Network/networkSecurityGroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/networkSecurityGroups/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/networkSecurityGroups/.test/min/deploy.test.bicep b/modules/Microsoft.Network/networkSecurityGroups/.test/min/deploy.test.bicep index 385b7cb86b..398dd4f566 100644 --- a/modules/Microsoft.Network/networkSecurityGroups/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/networkSecurityGroups/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/networkSecurityGroups/readme.md b/modules/Microsoft.Network/networkSecurityGroups/readme.md index 06084c8fc5..f5b9c9a160 100644 --- a/modules/Microsoft.Network/networkSecurityGroups/readme.md +++ b/modules/Microsoft.Network/networkSecurityGroups/readme.md @@ -175,7 +175,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module networkSecurityGroups './Microsoft.Network/networkSecurityGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nnsgcom' + name: '${uniqueString(deployment().name, location)}-test-nnsgcom' params: { // Required parameters name: '<>nnsgcom001' @@ -394,7 +394,7 @@ module networkSecurityGroups './Microsoft.Network/networkSecurityGroups/deploy.b ```bicep module networkSecurityGroups './Microsoft.Network/networkSecurityGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nnsgmin' + name: '${uniqueString(deployment().name, location)}-test-nnsgmin' params: { // Required parameters name: '<>nnsgmin001' diff --git a/modules/Microsoft.Network/networkWatchers/.test/common/deploy.test.bicep b/modules/Microsoft.Network/networkWatchers/.test/common/deploy.test.bicep index 8c538a3bdb..98aea66019 100644 --- a/modules/Microsoft.Network/networkWatchers/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/networkWatchers/.test/common/deploy.test.bicep @@ -62,7 +62,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost var testLocation = 'westeurope' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: 'NetworkWatcher_${testLocation}' diff --git a/modules/Microsoft.Network/networkWatchers/.test/min/deploy.test.bicep b/modules/Microsoft.Network/networkWatchers/.test/min/deploy.test.bicep index f3e576563b..52f2bdc20c 100644 --- a/modules/Microsoft.Network/networkWatchers/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/networkWatchers/.test/min/deploy.test.bicep @@ -35,7 +35,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { var testLocation = 'northeurope' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry // Note: This value is not required and only set to enable testing diff --git a/modules/Microsoft.Network/networkWatchers/readme.md b/modules/Microsoft.Network/networkWatchers/readme.md index e7c4074b70..7ae2f38769 100644 --- a/modules/Microsoft.Network/networkWatchers/readme.md +++ b/modules/Microsoft.Network/networkWatchers/readme.md @@ -165,7 +165,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module networkWatchers './Microsoft.Network/networkWatchers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nnwcom' + name: '${uniqueString(deployment().name, location)}-test-nnwcom' params: { connectionMonitors: [ { @@ -372,7 +372,7 @@ module networkWatchers './Microsoft.Network/networkWatchers/deploy.bicep' = { ```bicep module networkWatchers './Microsoft.Network/networkWatchers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nnwmin' + name: '${uniqueString(deployment().name, location)}-test-nnwmin' params: { enableDefaultTelemetry: '' location: '' diff --git a/modules/Microsoft.Network/privateDnsZones/.test/common/deploy.test.bicep b/modules/Microsoft.Network/privateDnsZones/.test/common/deploy.test.bicep index 48b2df3397..5676d90d31 100644 --- a/modules/Microsoft.Network/privateDnsZones/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/privateDnsZones/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001.com' diff --git a/modules/Microsoft.Network/privateDnsZones/.test/min/deploy.test.bicep b/modules/Microsoft.Network/privateDnsZones/.test/min/deploy.test.bicep index 25fa646627..2c20614c7b 100644 --- a/modules/Microsoft.Network/privateDnsZones/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/privateDnsZones/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001.com' diff --git a/modules/Microsoft.Network/privateDnsZones/readme.md b/modules/Microsoft.Network/privateDnsZones/readme.md index 8f8dfed50c..018b9ca0e5 100644 --- a/modules/Microsoft.Network/privateDnsZones/readme.md +++ b/modules/Microsoft.Network/privateDnsZones/readme.md @@ -183,7 +183,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module privateDnsZones './Microsoft.Network/privateDnsZones/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npdzcom' + name: '${uniqueString(deployment().name, location)}-test-npdzcom' params: { // Required parameters name: '<>npdzcom001.com' @@ -600,7 +600,7 @@ module privateDnsZones './Microsoft.Network/privateDnsZones/deploy.bicep' = { ```bicep module privateDnsZones './Microsoft.Network/privateDnsZones/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npdzmin' + name: '${uniqueString(deployment().name, location)}-test-npdzmin' params: { // Required parameters name: '<>npdzmin001.com' diff --git a/modules/Microsoft.Network/privateEndpoints/.test/common/deploy.test.bicep b/modules/Microsoft.Network/privateEndpoints/.test/common/deploy.test.bicep index b6133b108c..5d1cb988bc 100644 --- a/modules/Microsoft.Network/privateEndpoints/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/privateEndpoints/.test/common/deploy.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/privateEndpoints/.test/min/deploy.test.bicep b/modules/Microsoft.Network/privateEndpoints/.test/min/deploy.test.bicep index 67ec8b6517..5316fd2c46 100644 --- a/modules/Microsoft.Network/privateEndpoints/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/privateEndpoints/.test/min/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/privateEndpoints/readme.md b/modules/Microsoft.Network/privateEndpoints/readme.md index 8cbbffe505..65e0dca040 100644 --- a/modules/Microsoft.Network/privateEndpoints/readme.md +++ b/modules/Microsoft.Network/privateEndpoints/readme.md @@ -298,7 +298,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module privateEndpoints './Microsoft.Network/privateEndpoints/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npecom' + name: '${uniqueString(deployment().name, location)}-test-npecom' params: { // Required parameters groupIds: [ @@ -433,7 +433,7 @@ module privateEndpoints './Microsoft.Network/privateEndpoints/deploy.bicep' = { ```bicep module privateEndpoints './Microsoft.Network/privateEndpoints/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npemin' + name: '${uniqueString(deployment().name, location)}-test-npemin' params: { // Required parameters groupIds: [ diff --git a/modules/Microsoft.Network/privateLinkServices/.test/common/deploy.test.bicep b/modules/Microsoft.Network/privateLinkServices/.test/common/deploy.test.bicep index 8724901bd9..5aea2fba76 100644 --- a/modules/Microsoft.Network/privateLinkServices/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/privateLinkServices/.test/common/deploy.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/privateLinkServices/.test/min/deploy.test.bicep b/modules/Microsoft.Network/privateLinkServices/.test/min/deploy.test.bicep index 94889f7bd8..c1766643ad 100644 --- a/modules/Microsoft.Network/privateLinkServices/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/privateLinkServices/.test/min/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/privateLinkServices/readme.md b/modules/Microsoft.Network/privateLinkServices/readme.md index e4f9bc692c..2e778217a3 100644 --- a/modules/Microsoft.Network/privateLinkServices/readme.md +++ b/modules/Microsoft.Network/privateLinkServices/readme.md @@ -441,7 +441,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module privateLinkServices './Microsoft.Network/privateLinkServices/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nplscom' + name: '${uniqueString(deployment().name, location)}-test-nplscom' params: { // Required parameters name: '<>nplscom001' @@ -584,7 +584,7 @@ module privateLinkServices './Microsoft.Network/privateLinkServices/deploy.bicep ```bicep module privateLinkServices './Microsoft.Network/privateLinkServices/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nplsmin' + name: '${uniqueString(deployment().name, location)}-test-nplsmin' params: { // Required parameters name: '<>nplsmin001' diff --git a/modules/Microsoft.Network/publicIPAddresses/.test/common/deploy.test.bicep b/modules/Microsoft.Network/publicIPAddresses/.test/common/deploy.test.bicep index 121ac148dd..0cff390a2d 100644 --- a/modules/Microsoft.Network/publicIPAddresses/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/publicIPAddresses/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/publicIPAddresses/.test/min/deploy.test.bicep b/modules/Microsoft.Network/publicIPAddresses/.test/min/deploy.test.bicep index 6401ba89b0..c35a30ac4e 100644 --- a/modules/Microsoft.Network/publicIPAddresses/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/publicIPAddresses/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/publicIPAddresses/readme.md b/modules/Microsoft.Network/publicIPAddresses/readme.md index 6da511ef1f..01aa70e72f 100644 --- a/modules/Microsoft.Network/publicIPAddresses/readme.md +++ b/modules/Microsoft.Network/publicIPAddresses/readme.md @@ -182,7 +182,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module publicIPAddresses './Microsoft.Network/publicIPAddresses/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npiacom' + name: '${uniqueString(deployment().name, location)}-test-npiacom' params: { // Required parameters name: '<>npiacom001' @@ -291,7 +291,7 @@ module publicIPAddresses './Microsoft.Network/publicIPAddresses/deploy.bicep' = ```bicep module publicIPAddresses './Microsoft.Network/publicIPAddresses/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npiamin' + name: '${uniqueString(deployment().name, location)}-test-npiamin' params: { // Required parameters name: '<>npiamin001' diff --git a/modules/Microsoft.Network/publicIPPrefixes/.test/common/deploy.test.bicep b/modules/Microsoft.Network/publicIPPrefixes/.test/common/deploy.test.bicep index 31615cc2f8..624ca8c9b3 100644 --- a/modules/Microsoft.Network/publicIPPrefixes/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/publicIPPrefixes/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/publicIPPrefixes/.test/min/deploy.test.bicep b/modules/Microsoft.Network/publicIPPrefixes/.test/min/deploy.test.bicep index 32f0b88021..4a68c2e336 100644 --- a/modules/Microsoft.Network/publicIPPrefixes/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/publicIPPrefixes/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/publicIPPrefixes/readme.md b/modules/Microsoft.Network/publicIPPrefixes/readme.md index f584fabce6..428ea37ac6 100644 --- a/modules/Microsoft.Network/publicIPPrefixes/readme.md +++ b/modules/Microsoft.Network/publicIPPrefixes/readme.md @@ -166,7 +166,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module publicIPPrefixes './Microsoft.Network/publicIPPrefixes/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npipcom' + name: '${uniqueString(deployment().name, location)}-test-npipcom' params: { // Required parameters name: '<>npipcom001' @@ -239,7 +239,7 @@ module publicIPPrefixes './Microsoft.Network/publicIPPrefixes/deploy.bicep' = { ```bicep module publicIPPrefixes './Microsoft.Network/publicIPPrefixes/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npipmin' + name: '${uniqueString(deployment().name, location)}-test-npipmin' params: { // Required parameters name: '<>npipmin001' diff --git a/modules/Microsoft.Network/routeTables/.test/common/deploy.test.bicep b/modules/Microsoft.Network/routeTables/.test/common/deploy.test.bicep index 60827d9e59..9d483b4a3c 100644 --- a/modules/Microsoft.Network/routeTables/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/routeTables/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/routeTables/.test/min/deploy.test.bicep b/modules/Microsoft.Network/routeTables/.test/min/deploy.test.bicep index 6ba3ac4c33..ac3b1b3c72 100644 --- a/modules/Microsoft.Network/routeTables/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/routeTables/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/routeTables/readme.md b/modules/Microsoft.Network/routeTables/readme.md index 5149c6e0f0..22194f61f9 100644 --- a/modules/Microsoft.Network/routeTables/readme.md +++ b/modules/Microsoft.Network/routeTables/readme.md @@ -256,7 +256,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module routeTables './Microsoft.Network/routeTables/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nrtcom' + name: '${uniqueString(deployment().name, location)}-test-nrtcom' params: { // Required parameters name: '<>nrtcom001' @@ -347,7 +347,7 @@ module routeTables './Microsoft.Network/routeTables/deploy.bicep' = { ```bicep module routeTables './Microsoft.Network/routeTables/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nrtmin' + name: '${uniqueString(deployment().name, location)}-test-nrtmin' params: { // Required parameters name: '<>nrtmin001' diff --git a/modules/Microsoft.Network/trafficmanagerprofiles/.test/common/deploy.test.bicep b/modules/Microsoft.Network/trafficmanagerprofiles/.test/common/deploy.test.bicep index 58be96315f..68e1d174ab 100644 --- a/modules/Microsoft.Network/trafficmanagerprofiles/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/trafficmanagerprofiles/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost var resourceName = '<>${serviceShort}001' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: resourceName diff --git a/modules/Microsoft.Network/trafficmanagerprofiles/.test/min/deploy.test.bicep b/modules/Microsoft.Network/trafficmanagerprofiles/.test/min/deploy.test.bicep index 3879ea02ad..00f47b45a2 100644 --- a/modules/Microsoft.Network/trafficmanagerprofiles/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/trafficmanagerprofiles/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { var resourceName = '<>${serviceShort}001' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: resourceName diff --git a/modules/Microsoft.Network/trafficmanagerprofiles/readme.md b/modules/Microsoft.Network/trafficmanagerprofiles/readme.md index c62a3ba5a7..983296dd92 100644 --- a/modules/Microsoft.Network/trafficmanagerprofiles/readme.md +++ b/modules/Microsoft.Network/trafficmanagerprofiles/readme.md @@ -270,7 +270,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module trafficmanagerprofiles './Microsoft.Network/trafficmanagerprofiles/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ntmpcom' + name: '${uniqueString(deployment().name, location)}-test-ntmpcom' params: { // Required parameters name: '' @@ -363,7 +363,7 @@ module trafficmanagerprofiles './Microsoft.Network/trafficmanagerprofiles/deploy ```bicep module trafficmanagerprofiles './Microsoft.Network/trafficmanagerprofiles/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ntmpmin' + name: '${uniqueString(deployment().name, location)}-test-ntmpmin' params: { // Required parameters name: '' diff --git a/modules/Microsoft.Network/virtualHubs/.test/common/deploy.test.bicep b/modules/Microsoft.Network/virtualHubs/.test/common/deploy.test.bicep index c8bfcf178b..473659ccb3 100644 --- a/modules/Microsoft.Network/virtualHubs/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualHubs/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}' diff --git a/modules/Microsoft.Network/virtualHubs/.test/min/deploy.test.bicep b/modules/Microsoft.Network/virtualHubs/.test/min/deploy.test.bicep index ee17f8d46a..8986cf99f7 100644 --- a/modules/Microsoft.Network/virtualHubs/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualHubs/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}' diff --git a/modules/Microsoft.Network/virtualHubs/readme.md b/modules/Microsoft.Network/virtualHubs/readme.md index 262355651b..e00dc17162 100644 --- a/modules/Microsoft.Network/virtualHubs/readme.md +++ b/modules/Microsoft.Network/virtualHubs/readme.md @@ -123,7 +123,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module virtualHubs './Microsoft.Network/virtualHubs/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvhcom' + name: '${uniqueString(deployment().name, location)}-test-nvhcom' params: { // Required parameters addressPrefix: '10.1.0.0/16' @@ -236,7 +236,7 @@ module virtualHubs './Microsoft.Network/virtualHubs/deploy.bicep' = { ```bicep module virtualHubs './Microsoft.Network/virtualHubs/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvhmin' + name: '${uniqueString(deployment().name, location)}-test-nvhmin' params: { // Required parameters addressPrefix: '10.0.0.0/16' diff --git a/modules/Microsoft.Network/virtualNetworkGateways/.test/aadvpn/deploy.test.bicep b/modules/Microsoft.Network/virtualNetworkGateways/.test/aadvpn/deploy.test.bicep index 84db02c6f4..060e5c3853 100644 --- a/modules/Microsoft.Network/virtualNetworkGateways/.test/aadvpn/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualNetworkGateways/.test/aadvpn/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualNetworkGateways/.test/expressRoute/deploy.test.bicep b/modules/Microsoft.Network/virtualNetworkGateways/.test/expressRoute/deploy.test.bicep index 53d873a9b3..aa6497436d 100644 --- a/modules/Microsoft.Network/virtualNetworkGateways/.test/expressRoute/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualNetworkGateways/.test/expressRoute/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualNetworkGateways/.test/vpn/deploy.test.bicep b/modules/Microsoft.Network/virtualNetworkGateways/.test/vpn/deploy.test.bicep index dfc4dbc70d..95fd6a73d4 100644 --- a/modules/Microsoft.Network/virtualNetworkGateways/.test/vpn/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualNetworkGateways/.test/vpn/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualNetworkGateways/readme.md b/modules/Microsoft.Network/virtualNetworkGateways/readme.md index 186b37ce22..0b8214bc89 100644 --- a/modules/Microsoft.Network/virtualNetworkGateways/readme.md +++ b/modules/Microsoft.Network/virtualNetworkGateways/readme.md @@ -265,7 +265,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module virtualNetworkGateways './Microsoft.Network/virtualNetworkGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvngavpn' + name: '${uniqueString(deployment().name, location)}-test-nvngavpn' params: { // Required parameters name: '<>nvngavpn001' @@ -410,7 +410,7 @@ module virtualNetworkGateways './Microsoft.Network/virtualNetworkGateways/deploy ```bicep module virtualNetworkGateways './Microsoft.Network/virtualNetworkGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvger' + name: '${uniqueString(deployment().name, location)}-test-nvger' params: { // Required parameters name: '<>nvger001' @@ -535,7 +535,7 @@ module virtualNetworkGateways './Microsoft.Network/virtualNetworkGateways/deploy ```bicep module virtualNetworkGateways './Microsoft.Network/virtualNetworkGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvgvpn' + name: '${uniqueString(deployment().name, location)}-test-nvgvpn' params: { // Required parameters name: '<>nvgvpn001' diff --git a/modules/Microsoft.Network/virtualNetworks/.test/common/deploy.test.bicep b/modules/Microsoft.Network/virtualNetworks/.test/common/deploy.test.bicep index 274ec8a446..cae778e53c 100644 --- a/modules/Microsoft.Network/virtualNetworks/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualNetworks/.test/common/deploy.test.bicep @@ -58,7 +58,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualNetworks/.test/min/deploy.test.bicep b/modules/Microsoft.Network/virtualNetworks/.test/min/deploy.test.bicep index 2f6f83e359..7c156706c3 100644 --- a/modules/Microsoft.Network/virtualNetworks/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualNetworks/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualNetworks/.test/vnetPeering/deploy.test.bicep b/modules/Microsoft.Network/virtualNetworks/.test/vnetPeering/deploy.test.bicep index f14b89a952..d380380879 100644 --- a/modules/Microsoft.Network/virtualNetworks/.test/vnetPeering/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualNetworks/.test/vnetPeering/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualNetworks/readme.md b/modules/Microsoft.Network/virtualNetworks/readme.md index 4db563e67c..814564b41d 100644 --- a/modules/Microsoft.Network/virtualNetworks/readme.md +++ b/modules/Microsoft.Network/virtualNetworks/readme.md @@ -369,7 +369,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module virtualNetworks './Microsoft.Network/virtualNetworks/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvncom' + name: '${uniqueString(deployment().name, location)}-test-nvncom' params: { // Required parameters addressPrefixes: [ @@ -572,7 +572,7 @@ module virtualNetworks './Microsoft.Network/virtualNetworks/deploy.bicep' = { ```bicep module virtualNetworks './Microsoft.Network/virtualNetworks/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvnmin' + name: '${uniqueString(deployment().name, location)}-test-nvnmin' params: { // Required parameters addressPrefixes: [ @@ -625,7 +625,7 @@ module virtualNetworks './Microsoft.Network/virtualNetworks/deploy.bicep' = { ```bicep module virtualNetworks './Microsoft.Network/virtualNetworks/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvnpeer' + name: '${uniqueString(deployment().name, location)}-test-nvnpeer' params: { // Required parameters addressPrefixes: [ diff --git a/modules/Microsoft.Network/virtualWans/.test/common/deploy.test.bicep b/modules/Microsoft.Network/virtualWans/.test/common/deploy.test.bicep index 31e9cc8f3e..826253d802 100644 --- a/modules/Microsoft.Network/virtualWans/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualWans/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualWans/.test/min/deploy.test.bicep b/modules/Microsoft.Network/virtualWans/.test/min/deploy.test.bicep index 83d69de2e6..0bb5e97210 100644 --- a/modules/Microsoft.Network/virtualWans/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualWans/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualWans/readme.md b/modules/Microsoft.Network/virtualWans/readme.md index ead29ef221..7ea98c2e44 100644 --- a/modules/Microsoft.Network/virtualWans/readme.md +++ b/modules/Microsoft.Network/virtualWans/readme.md @@ -169,7 +169,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module virtualWans './Microsoft.Network/virtualWans/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvwcom' + name: '${uniqueString(deployment().name, location)}-test-nvwcom' params: { // Required parameters name: '<>nvwcom001' @@ -254,7 +254,7 @@ module virtualWans './Microsoft.Network/virtualWans/deploy.bicep' = { ```bicep module virtualWans './Microsoft.Network/virtualWans/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvwmin' + name: '${uniqueString(deployment().name, location)}-test-nvwmin' params: { // Required parameters name: '<>nvwmin001' diff --git a/modules/Microsoft.Network/vpnGateways/.test/common/deploy.test.bicep b/modules/Microsoft.Network/vpnGateways/.test/common/deploy.test.bicep index 3e555e6837..b675c83e66 100644 --- a/modules/Microsoft.Network/vpnGateways/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/vpnGateways/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { // ============== // module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/vpnGateways/.test/min/deploy.test.bicep b/modules/Microsoft.Network/vpnGateways/.test/min/deploy.test.bicep index de6d537303..a45bc451c6 100644 --- a/modules/Microsoft.Network/vpnGateways/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/vpnGateways/.test/min/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/vpnGateways/readme.md b/modules/Microsoft.Network/vpnGateways/readme.md index 7ee2f3848c..521efc8188 100644 --- a/modules/Microsoft.Network/vpnGateways/readme.md +++ b/modules/Microsoft.Network/vpnGateways/readme.md @@ -190,7 +190,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module vpnGateways './Microsoft.Network/vpnGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvgcom' + name: '${uniqueString(deployment().name, location)}-test-nvgcom' params: { // Required parameters name: '<>nvgcom001' @@ -319,7 +319,7 @@ module vpnGateways './Microsoft.Network/vpnGateways/deploy.bicep' = { ```bicep module vpnGateways './Microsoft.Network/vpnGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvgmin' + name: '${uniqueString(deployment().name, location)}-test-nvgmin' params: { // Required parameters name: '<>nvgmin001' diff --git a/modules/Microsoft.Network/vpnSites/.test/common/deploy.test.bicep b/modules/Microsoft.Network/vpnSites/.test/common/deploy.test.bicep index 06149980f1..508210b48d 100644 --- a/modules/Microsoft.Network/vpnSites/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/vpnSites/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}' diff --git a/modules/Microsoft.Network/vpnSites/.test/min/deploy.test.bicep b/modules/Microsoft.Network/vpnSites/.test/min/deploy.test.bicep index 432ac0555e..2a3f926145 100644 --- a/modules/Microsoft.Network/vpnSites/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/vpnSites/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}' diff --git a/modules/Microsoft.Network/vpnSites/readme.md b/modules/Microsoft.Network/vpnSites/readme.md index 8e11bf46f8..a590da6a4e 100644 --- a/modules/Microsoft.Network/vpnSites/readme.md +++ b/modules/Microsoft.Network/vpnSites/readme.md @@ -343,7 +343,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module vpnSites './Microsoft.Network/vpnSites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvscom' + name: '${uniqueString(deployment().name, location)}-test-nvscom' params: { // Required parameters name: '<>-nvscom' @@ -512,7 +512,7 @@ module vpnSites './Microsoft.Network/vpnSites/deploy.bicep' = { ```bicep module vpnSites './Microsoft.Network/vpnSites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvsmin' + name: '${uniqueString(deployment().name, location)}-test-nvsmin' params: { // Required parameters name: '<>-nvsmin' diff --git a/modules/Microsoft.OperationalInsights/workspaces/.test/common/deploy.test.bicep b/modules/Microsoft.OperationalInsights/workspaces/.test/common/deploy.test.bicep index 2621d7ad0a..a8ed083c9a 100644 --- a/modules/Microsoft.OperationalInsights/workspaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.OperationalInsights/workspaces/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.OperationalInsights/workspaces/.test/min/deploy.test.bicep b/modules/Microsoft.OperationalInsights/workspaces/.test/min/deploy.test.bicep index e0e9897d4e..668ba6f254 100644 --- a/modules/Microsoft.OperationalInsights/workspaces/.test/min/deploy.test.bicep +++ b/modules/Microsoft.OperationalInsights/workspaces/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.OperationalInsights/workspaces/readme.md b/modules/Microsoft.OperationalInsights/workspaces/readme.md index 27c5b8251d..6bfbd79e36 100644 --- a/modules/Microsoft.OperationalInsights/workspaces/readme.md +++ b/modules/Microsoft.OperationalInsights/workspaces/readme.md @@ -472,7 +472,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module workspaces './Microsoft.OperationalInsights/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-oiwcom' + name: '${uniqueString(deployment().name, location)}-test-oiwcom' params: { // Required parameters name: '<>oiwcom001' @@ -825,7 +825,7 @@ module workspaces './Microsoft.OperationalInsights/workspaces/deploy.bicep' = { ```bicep module workspaces './Microsoft.OperationalInsights/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-oiwmin' + name: '${uniqueString(deployment().name, location)}-test-oiwmin' params: { // Required parameters name: '<>oiwmin001' diff --git a/modules/Microsoft.OperationsManagement/solutions/.test/min/deploy.test.bicep b/modules/Microsoft.OperationsManagement/solutions/.test/min/deploy.test.bicep index b47148505c..b89c87d41f 100644 --- a/modules/Microsoft.OperationsManagement/solutions/.test/min/deploy.test.bicep +++ b/modules/Microsoft.OperationsManagement/solutions/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: 'Updates' diff --git a/modules/Microsoft.OperationsManagement/solutions/.test/ms/deploy.test.bicep b/modules/Microsoft.OperationsManagement/solutions/.test/ms/deploy.test.bicep index 1a3430a813..1c7defeb36 100644 --- a/modules/Microsoft.OperationsManagement/solutions/.test/ms/deploy.test.bicep +++ b/modules/Microsoft.OperationsManagement/solutions/.test/ms/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: 'AzureAutomation' diff --git a/modules/Microsoft.OperationsManagement/solutions/.test/nonms/deploy.test.bicep b/modules/Microsoft.OperationsManagement/solutions/.test/nonms/deploy.test.bicep index d92fa674f0..e8188e90d4 100644 --- a/modules/Microsoft.OperationsManagement/solutions/.test/nonms/deploy.test.bicep +++ b/modules/Microsoft.OperationsManagement/solutions/.test/nonms/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.OperationsManagement/solutions/readme.md b/modules/Microsoft.OperationsManagement/solutions/readme.md index 773d7e94df..26066101ff 100644 --- a/modules/Microsoft.OperationsManagement/solutions/readme.md +++ b/modules/Microsoft.OperationsManagement/solutions/readme.md @@ -63,7 +63,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-omsmin' + name: '${uniqueString(deployment().name, location)}-test-omsmin' params: { // Required parameters logAnalyticsWorkspaceName: '' @@ -112,7 +112,7 @@ module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { ```bicep module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-omsms' + name: '${uniqueString(deployment().name, location)}-test-omsms' params: { // Required parameters logAnalyticsWorkspaceName: '' @@ -169,7 +169,7 @@ module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { ```bicep module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-omsnonms' + name: '${uniqueString(deployment().name, location)}-test-omsnonms' params: { // Required parameters logAnalyticsWorkspaceName: '' diff --git a/modules/Microsoft.PolicyInsights/remediations/.test/mg.common/deploy.test.bicep b/modules/Microsoft.PolicyInsights/remediations/.test/mg.common/deploy.test.bicep index 8320b5552f..429a81e814 100644 --- a/modules/Microsoft.PolicyInsights/remediations/.test/mg.common/deploy.test.bicep +++ b/modules/Microsoft.PolicyInsights/remediations/.test/mg.common/deploy.test.bicep @@ -78,7 +78,7 @@ resource policySetAssignment 'Microsoft.Authorization/policyAssignments@2021-06- // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.PolicyInsights/remediations/readme.md b/modules/Microsoft.PolicyInsights/remediations/readme.md index 65ef013796..4a2a88a495 100644 --- a/modules/Microsoft.PolicyInsights/remediations/readme.md +++ b/modules/Microsoft.PolicyInsights/remediations/readme.md @@ -181,7 +181,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module remediations './Microsoft.PolicyInsights/remediations/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-pirmgcom' + name: '${uniqueString(deployment().name, location)}-test-pirmgcom' params: { // Required parameters name: '<>pirmgcom001' diff --git a/modules/Microsoft.PowerBIDedicated/capacities/.test/common/deploy.test.bicep b/modules/Microsoft.PowerBIDedicated/capacities/.test/common/deploy.test.bicep index f686caf575..c366af6b4f 100644 --- a/modules/Microsoft.PowerBIDedicated/capacities/.test/common/deploy.test.bicep +++ b/modules/Microsoft.PowerBIDedicated/capacities/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.PowerBIDedicated/capacities/.test/min/deploy.test.bicep b/modules/Microsoft.PowerBIDedicated/capacities/.test/min/deploy.test.bicep index d2d11c79cd..1a2161e7e4 100644 --- a/modules/Microsoft.PowerBIDedicated/capacities/.test/min/deploy.test.bicep +++ b/modules/Microsoft.PowerBIDedicated/capacities/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.PowerBIDedicated/capacities/readme.md b/modules/Microsoft.PowerBIDedicated/capacities/readme.md index 8ed7869d69..c0957dc64c 100644 --- a/modules/Microsoft.PowerBIDedicated/capacities/readme.md +++ b/modules/Microsoft.PowerBIDedicated/capacities/readme.md @@ -170,7 +170,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module capacities './Microsoft.PowerBIDedicated/capacities/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-pbdcapcom' + name: '${uniqueString(deployment().name, location)}-test-pbdcapcom' params: { // Required parameters members: [ @@ -261,7 +261,7 @@ module capacities './Microsoft.PowerBIDedicated/capacities/deploy.bicep' = { ```bicep module capacities './Microsoft.PowerBIDedicated/capacities/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-pbdcapmin' + name: '${uniqueString(deployment().name, location)}-test-pbdcapmin' params: { // Required parameters members: [ diff --git a/modules/Microsoft.RecoveryServices/vaults/.test/common/deploy.test.bicep b/modules/Microsoft.RecoveryServices/vaults/.test/common/deploy.test.bicep index 7b278b6057..a0a369d25e 100644 --- a/modules/Microsoft.RecoveryServices/vaults/.test/common/deploy.test.bicep +++ b/modules/Microsoft.RecoveryServices/vaults/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.RecoveryServices/vaults/.test/dr/deploy.test.bicep b/modules/Microsoft.RecoveryServices/vaults/.test/dr/deploy.test.bicep index 777b1b878b..02a65d2379 100644 --- a/modules/Microsoft.RecoveryServices/vaults/.test/dr/deploy.test.bicep +++ b/modules/Microsoft.RecoveryServices/vaults/.test/dr/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { var rsvName = '<>${serviceShort}001' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: rsvName diff --git a/modules/Microsoft.RecoveryServices/vaults/.test/min/deploy.test.bicep b/modules/Microsoft.RecoveryServices/vaults/.test/min/deploy.test.bicep index f3d6608030..3d31e4d548 100644 --- a/modules/Microsoft.RecoveryServices/vaults/.test/min/deploy.test.bicep +++ b/modules/Microsoft.RecoveryServices/vaults/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.RecoveryServices/vaults/readme.md b/modules/Microsoft.RecoveryServices/vaults/readme.md index be4c6b2941..2fad8279b0 100644 --- a/modules/Microsoft.RecoveryServices/vaults/readme.md +++ b/modules/Microsoft.RecoveryServices/vaults/readme.md @@ -945,7 +945,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module vaults './Microsoft.RecoveryServices/vaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-rsvcom' + name: '${uniqueString(deployment().name, location)}-test-rsvcom' params: { // Required parameters name: '<>rsvcom001' @@ -1586,7 +1586,7 @@ module vaults './Microsoft.RecoveryServices/vaults/deploy.bicep' = { ```bicep module vaults './Microsoft.RecoveryServices/vaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-rsvdr' + name: '${uniqueString(deployment().name, location)}-test-rsvdr' params: { // Required parameters name: '' @@ -1745,7 +1745,7 @@ module vaults './Microsoft.RecoveryServices/vaults/deploy.bicep' = { ```bicep module vaults './Microsoft.RecoveryServices/vaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-rsvmin' + name: '${uniqueString(deployment().name, location)}-test-rsvmin' params: { // Required parameters name: '<>rsvmin001' diff --git a/modules/Microsoft.Resources/deploymentScripts/.test/cli/deploy.test.bicep b/modules/Microsoft.Resources/deploymentScripts/.test/cli/deploy.test.bicep index c9d35b9ab5..910c2e7c46 100644 --- a/modules/Microsoft.Resources/deploymentScripts/.test/cli/deploy.test.bicep +++ b/modules/Microsoft.Resources/deploymentScripts/.test/cli/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Resources/deploymentScripts/.test/ps/deploy.test.bicep b/modules/Microsoft.Resources/deploymentScripts/.test/ps/deploy.test.bicep index 668719b959..5d1504b7f8 100644 --- a/modules/Microsoft.Resources/deploymentScripts/.test/ps/deploy.test.bicep +++ b/modules/Microsoft.Resources/deploymentScripts/.test/ps/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Resources/deploymentScripts/readme.md b/modules/Microsoft.Resources/deploymentScripts/readme.md index f98b03928e..690f512815 100644 --- a/modules/Microsoft.Resources/deploymentScripts/readme.md +++ b/modules/Microsoft.Resources/deploymentScripts/readme.md @@ -162,7 +162,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module deploymentScripts './Microsoft.Resources/deploymentScripts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-rdscli' + name: '${uniqueString(deployment().name, location)}-test-rdscli' params: { // Required parameters name: '<>rdscli001' @@ -243,7 +243,7 @@ module deploymentScripts './Microsoft.Resources/deploymentScripts/deploy.bicep' ```bicep module deploymentScripts './Microsoft.Resources/deploymentScripts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-rdsps' + name: '${uniqueString(deployment().name, location)}-test-rdsps' params: { // Required parameters name: '<>rdsps001' diff --git a/modules/Microsoft.Resources/resourceGroups/.test/common/deploy.test.bicep b/modules/Microsoft.Resources/resourceGroups/.test/common/deploy.test.bicep index ef0d501518..80a619b997 100644 --- a/modules/Microsoft.Resources/resourceGroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Resources/resourceGroups/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Resources/resourceGroups/readme.md b/modules/Microsoft.Resources/resourceGroups/readme.md index efbf5eceee..13be5d0ba3 100644 --- a/modules/Microsoft.Resources/resourceGroups/readme.md +++ b/modules/Microsoft.Resources/resourceGroups/readme.md @@ -174,7 +174,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module resourceGroups './Microsoft.Resources/resourceGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-rrgcom' + name: '${uniqueString(deployment().name, location)}-test-rrgcom' params: { // Required parameters name: '<>rrgcom001' diff --git a/modules/Microsoft.Resources/tags/.test/rg/deploy.test.bicep b/modules/Microsoft.Resources/tags/.test/rg/deploy.test.bicep index fa033f269d..f8d591710f 100644 --- a/modules/Microsoft.Resources/tags/.test/rg/deploy.test.bicep +++ b/modules/Microsoft.Resources/tags/.test/rg/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry onlyUpdate: false diff --git a/modules/Microsoft.Resources/tags/readme.md b/modules/Microsoft.Resources/tags/readme.md index d135e6a031..b81609b252 100644 --- a/modules/Microsoft.Resources/tags/readme.md +++ b/modules/Microsoft.Resources/tags/readme.md @@ -130,7 +130,7 @@ module tags './Microsoft.Resources/tags/deploy.bicep' = { ```bicep module tags './Microsoft.Resources/tags/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-rtrg' + name: '${uniqueString(deployment().name, location)}-test-rtrg' params: { enableDefaultTelemetry: '' onlyUpdate: false diff --git a/modules/Microsoft.Security/azureSecurityCenter/.test/common/deploy.test.bicep b/modules/Microsoft.Security/azureSecurityCenter/.test/common/deploy.test.bicep index 68ff1b87e4..b31111030c 100644 --- a/modules/Microsoft.Security/azureSecurityCenter/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Security/azureSecurityCenter/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry scope: '/subscriptions/${subscription().subscriptionId}' diff --git a/modules/Microsoft.Security/azureSecurityCenter/readme.md b/modules/Microsoft.Security/azureSecurityCenter/readme.md index b54473a6d5..909bc5a3cb 100644 --- a/modules/Microsoft.Security/azureSecurityCenter/readme.md +++ b/modules/Microsoft.Security/azureSecurityCenter/readme.md @@ -116,7 +116,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module azureSecurityCenter './Microsoft.Security/azureSecurityCenter/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sasccom' + name: '${uniqueString(deployment().name, location)}-test-sasccom' params: { // Required parameters workspaceId: '' diff --git a/modules/Microsoft.ServiceBus/namespaces/.test/common/deploy.test.bicep b/modules/Microsoft.ServiceBus/namespaces/.test/common/deploy.test.bicep index d8189c5328..64e87dcd82 100644 --- a/modules/Microsoft.ServiceBus/namespaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.ServiceBus/namespaces/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ServiceBus/namespaces/.test/encr/deploy.test.bicep b/modules/Microsoft.ServiceBus/namespaces/.test/encr/deploy.test.bicep index b1b521f9cf..6b5e1d55fc 100644 --- a/modules/Microsoft.ServiceBus/namespaces/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.ServiceBus/namespaces/.test/encr/deploy.test.bicep @@ -48,7 +48,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ServiceBus/namespaces/.test/min/deploy.test.bicep b/modules/Microsoft.ServiceBus/namespaces/.test/min/deploy.test.bicep index 4bf4e9915d..7a8f009494 100644 --- a/modules/Microsoft.ServiceBus/namespaces/.test/min/deploy.test.bicep +++ b/modules/Microsoft.ServiceBus/namespaces/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ServiceBus/namespaces/.test/pe/deploy.test.bicep b/modules/Microsoft.ServiceBus/namespaces/.test/pe/deploy.test.bicep index cf653ef7eb..3b4996c344 100644 --- a/modules/Microsoft.ServiceBus/namespaces/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.ServiceBus/namespaces/.test/pe/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ServiceBus/namespaces/readme.md b/modules/Microsoft.ServiceBus/namespaces/readme.md index 8f710c6b03..373f766075 100644 --- a/modules/Microsoft.ServiceBus/namespaces/readme.md +++ b/modules/Microsoft.ServiceBus/namespaces/readme.md @@ -379,7 +379,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module namespaces './Microsoft.ServiceBus/namespaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sbncom' + name: '${uniqueString(deployment().name, location)}-test-sbncom' params: { // Required parameters name: '<>sbncom001' @@ -726,7 +726,7 @@ module namespaces './Microsoft.ServiceBus/namespaces/deploy.bicep' = { ```bicep module namespaces './Microsoft.ServiceBus/namespaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sbnencr' + name: '${uniqueString(deployment().name, location)}-test-sbnencr' params: { // Required parameters name: '<>sbnencr001' @@ -901,7 +901,7 @@ module namespaces './Microsoft.ServiceBus/namespaces/deploy.bicep' = { ```bicep module namespaces './Microsoft.ServiceBus/namespaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sbnmin' + name: '${uniqueString(deployment().name, location)}-test-sbnmin' params: { // Required parameters name: '<>sbnmin001' @@ -946,7 +946,7 @@ module namespaces './Microsoft.ServiceBus/namespaces/deploy.bicep' = { ```bicep module namespaces './Microsoft.ServiceBus/namespaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sbnpe' + name: '${uniqueString(deployment().name, location)}-test-sbnpe' params: { // Required parameters name: '<>sbnpe001' diff --git a/modules/Microsoft.ServiceFabric/clusters/.test/cert/deploy.test.bicep b/modules/Microsoft.ServiceFabric/clusters/.test/cert/deploy.test.bicep index eddb322eca..67b3e76349 100644 --- a/modules/Microsoft.ServiceFabric/clusters/.test/cert/deploy.test.bicep +++ b/modules/Microsoft.ServiceFabric/clusters/.test/cert/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ServiceFabric/clusters/.test/common/deploy.test.bicep b/modules/Microsoft.ServiceFabric/clusters/.test/common/deploy.test.bicep index f384a9ec4e..a307ae46bc 100644 --- a/modules/Microsoft.ServiceFabric/clusters/.test/common/deploy.test.bicep +++ b/modules/Microsoft.ServiceFabric/clusters/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ServiceFabric/clusters/.test/min/deploy.test.bicep b/modules/Microsoft.ServiceFabric/clusters/.test/min/deploy.test.bicep index ae0ae0a439..a275309425 100644 --- a/modules/Microsoft.ServiceFabric/clusters/.test/min/deploy.test.bicep +++ b/modules/Microsoft.ServiceFabric/clusters/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ServiceFabric/clusters/readme.md b/modules/Microsoft.ServiceFabric/clusters/readme.md index 4fb69abf79..ba9bd22358 100644 --- a/modules/Microsoft.ServiceFabric/clusters/readme.md +++ b/modules/Microsoft.ServiceFabric/clusters/readme.md @@ -248,7 +248,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module clusters './Microsoft.ServiceFabric/clusters/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sfccer' + name: '${uniqueString(deployment().name, location)}-test-sfccer' params: { // Required parameters managementEndpoint: 'https://<>sfccer001.westeurope.cloudapp.azure.com:19080' @@ -347,7 +347,7 @@ module clusters './Microsoft.ServiceFabric/clusters/deploy.bicep' = { ```bicep module clusters './Microsoft.ServiceFabric/clusters/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sfccom' + name: '${uniqueString(deployment().name, location)}-test-sfccom' params: { // Required parameters managementEndpoint: 'https://<>sfccom001.westeurope.cloudapp.azure.com:19080' @@ -754,7 +754,7 @@ module clusters './Microsoft.ServiceFabric/clusters/deploy.bicep' = { ```bicep module clusters './Microsoft.ServiceFabric/clusters/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sfcmin' + name: '${uniqueString(deployment().name, location)}-test-sfcmin' params: { // Required parameters managementEndpoint: 'https://<>sfcmin001.westeurope.cloudapp.azure.com:19080' diff --git a/modules/Microsoft.SignalRService/webPubSub/.test/common/deploy.test.bicep b/modules/Microsoft.SignalRService/webPubSub/.test/common/deploy.test.bicep index e2ce919f19..be01b750de 100644 --- a/modules/Microsoft.SignalRService/webPubSub/.test/common/deploy.test.bicep +++ b/modules/Microsoft.SignalRService/webPubSub/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}-001' diff --git a/modules/Microsoft.SignalRService/webPubSub/.test/min/deploy.test.bicep b/modules/Microsoft.SignalRService/webPubSub/.test/min/deploy.test.bicep index efcbcef3b1..d0e20c6da2 100644 --- a/modules/Microsoft.SignalRService/webPubSub/.test/min/deploy.test.bicep +++ b/modules/Microsoft.SignalRService/webPubSub/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}-001' diff --git a/modules/Microsoft.SignalRService/webPubSub/.test/pe/deploy.test.bicep b/modules/Microsoft.SignalRService/webPubSub/.test/pe/deploy.test.bicep index fdfeb63ff1..b550db994a 100644 --- a/modules/Microsoft.SignalRService/webPubSub/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.SignalRService/webPubSub/.test/pe/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}-001' diff --git a/modules/Microsoft.SignalRService/webPubSub/readme.md b/modules/Microsoft.SignalRService/webPubSub/readme.md index 2ea995aaa2..86f89f44e6 100644 --- a/modules/Microsoft.SignalRService/webPubSub/readme.md +++ b/modules/Microsoft.SignalRService/webPubSub/readme.md @@ -391,7 +391,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module webPubSub './Microsoft.SignalRService/webPubSub/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-srswpscom' + name: '${uniqueString(deployment().name, location)}-test-srswpscom' params: { // Required parameters name: '<>-srswpscom-001' @@ -568,7 +568,7 @@ module webPubSub './Microsoft.SignalRService/webPubSub/deploy.bicep' = { ```bicep module webPubSub './Microsoft.SignalRService/webPubSub/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-srswpsmin' + name: '${uniqueString(deployment().name, location)}-test-srswpsmin' params: { // Required parameters name: '<>-srswpsmin-001' @@ -613,7 +613,7 @@ module webPubSub './Microsoft.SignalRService/webPubSub/deploy.bicep' = { ```bicep module webPubSub './Microsoft.SignalRService/webPubSub/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-srswpspe' + name: '${uniqueString(deployment().name, location)}-test-srswpspe' params: { // Required parameters name: '<>-srswpspe-001' diff --git a/modules/Microsoft.Sql/servers/.test/admin/deploy.test.bicep b/modules/Microsoft.Sql/servers/.test/admin/deploy.test.bicep index ffba18d17b..54051cc825 100644 --- a/modules/Microsoft.Sql/servers/.test/admin/deploy.test.bicep +++ b/modules/Microsoft.Sql/servers/.test/admin/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}' diff --git a/modules/Microsoft.Sql/servers/.test/common/deploy.test.bicep b/modules/Microsoft.Sql/servers/.test/common/deploy.test.bicep index e48e8930d4..664ab25c92 100644 --- a/modules/Microsoft.Sql/servers/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Sql/servers/.test/common/deploy.test.bicep @@ -63,7 +63,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}' diff --git a/modules/Microsoft.Sql/servers/.test/pe/deploy.test.bicep b/modules/Microsoft.Sql/servers/.test/pe/deploy.test.bicep index 2d2d0e5922..f85e04c357 100644 --- a/modules/Microsoft.Sql/servers/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.Sql/servers/.test/pe/deploy.test.bicep @@ -47,7 +47,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}' diff --git a/modules/Microsoft.Sql/servers/readme.md b/modules/Microsoft.Sql/servers/readme.md index 52a49ab27b..b0c33da5aa 100644 --- a/modules/Microsoft.Sql/servers/readme.md +++ b/modules/Microsoft.Sql/servers/readme.md @@ -374,7 +374,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module servers './Microsoft.Sql/servers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sqlsadmin' + name: '${uniqueString(deployment().name, location)}-test-sqlsadmin' params: { // Required parameters name: '<>-sqlsadmin' @@ -435,7 +435,7 @@ module servers './Microsoft.Sql/servers/deploy.bicep' = { ```bicep module servers './Microsoft.Sql/servers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sqlscom' + name: '${uniqueString(deployment().name, location)}-test-sqlscom' params: { name: '<>-sqlscom' administratorLogin: 'adminUserName' @@ -694,7 +694,7 @@ module servers './Microsoft.Sql/servers/deploy.bicep' = { ```bicep module servers './Microsoft.Sql/servers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sqlspe' + name: '${uniqueString(deployment().name, location)}-test-sqlspe' params: { // Required parameters name: '<>-sqlspe' diff --git a/modules/Microsoft.Storage/storageAccounts/.test/common/deploy.test.bicep b/modules/Microsoft.Storage/storageAccounts/.test/common/deploy.test.bicep index 42dfe1acb9..61f4b17cf1 100644 --- a/modules/Microsoft.Storage/storageAccounts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Storage/storageAccounts/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Storage/storageAccounts/.test/encr/deploy.test.bicep b/modules/Microsoft.Storage/storageAccounts/.test/encr/deploy.test.bicep index f4868c074f..2d2dd4d024 100644 --- a/modules/Microsoft.Storage/storageAccounts/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.Storage/storageAccounts/.test/encr/deploy.test.bicep @@ -48,7 +48,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Storage/storageAccounts/.test/min/deploy.test.bicep b/modules/Microsoft.Storage/storageAccounts/.test/min/deploy.test.bicep index 689dab7d24..5a821e37ca 100644 --- a/modules/Microsoft.Storage/storageAccounts/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Storage/storageAccounts/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Storage/storageAccounts/.test/nfs/deploy.test.bicep b/modules/Microsoft.Storage/storageAccounts/.test/nfs/deploy.test.bicep index 7a776474b7..f9c7a8cfb5 100644 --- a/modules/Microsoft.Storage/storageAccounts/.test/nfs/deploy.test.bicep +++ b/modules/Microsoft.Storage/storageAccounts/.test/nfs/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Storage/storageAccounts/.test/v1/deploy.test.bicep b/modules/Microsoft.Storage/storageAccounts/.test/v1/deploy.test.bicep index bd22754704..6255e8b4f3 100644 --- a/modules/Microsoft.Storage/storageAccounts/.test/v1/deploy.test.bicep +++ b/modules/Microsoft.Storage/storageAccounts/.test/v1/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Storage/storageAccounts/readme.md b/modules/Microsoft.Storage/storageAccounts/readme.md index 5f2557a89f..2a9ea91bfd 100644 --- a/modules/Microsoft.Storage/storageAccounts/readme.md +++ b/modules/Microsoft.Storage/storageAccounts/readme.md @@ -417,7 +417,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ssacom' + name: '${uniqueString(deployment().name, location)}-test-ssacom' params: { // Required parameters name: '<>ssacom001' @@ -834,7 +834,7 @@ module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { ```bicep module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-stsencr' + name: '${uniqueString(deployment().name, location)}-test-stsencr' params: { // Required parameters name: '<>stsencr001' @@ -957,7 +957,7 @@ module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { ```bicep module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ssamin' + name: '${uniqueString(deployment().name, location)}-test-ssamin' params: { // Required parameters name: '<>ssamin001' @@ -1006,7 +1006,7 @@ module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { ```bicep module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ssanfs' + name: '${uniqueString(deployment().name, location)}-test-ssanfs' params: { // Required parameters name: '<>ssanfs001' @@ -1141,7 +1141,7 @@ module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { ```bicep module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ssav1' + name: '${uniqueString(deployment().name, location)}-test-ssav1' params: { // Required parameters name: '<>ssav1001' diff --git a/modules/Microsoft.Synapse/privateLinkHubs/.test/common/deploy.test.bicep b/modules/Microsoft.Synapse/privateLinkHubs/.test/common/deploy.test.bicep index c9534b1814..1f762e4dbd 100644 --- a/modules/Microsoft.Synapse/privateLinkHubs/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Synapse/privateLinkHubs/.test/common/deploy.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Synapse/privateLinkHubs/.test/min/deploy.test.bicep b/modules/Microsoft.Synapse/privateLinkHubs/.test/min/deploy.test.bicep index 59c98fc7b0..36ac4c33fb 100644 --- a/modules/Microsoft.Synapse/privateLinkHubs/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Synapse/privateLinkHubs/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Synapse/privateLinkHubs/readme.md b/modules/Microsoft.Synapse/privateLinkHubs/readme.md index 38db5bc6e2..0cf26f8230 100644 --- a/modules/Microsoft.Synapse/privateLinkHubs/readme.md +++ b/modules/Microsoft.Synapse/privateLinkHubs/readme.md @@ -272,7 +272,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module privateLinkHubs './Microsoft.Synapse/privateLinkHubs/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-splhcom' + name: '${uniqueString(deployment().name, location)}-test-splhcom' params: { // Required parameters name: '<>splhcom001' @@ -377,7 +377,7 @@ module privateLinkHubs './Microsoft.Synapse/privateLinkHubs/deploy.bicep' = { ```bicep module privateLinkHubs './Microsoft.Synapse/privateLinkHubs/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-splhmin' + name: '${uniqueString(deployment().name, location)}-test-splhmin' params: { // Required parameters name: '<>splhmin001' diff --git a/modules/Microsoft.Synapse/workspaces/.test/common/deploy.test.bicep b/modules/Microsoft.Synapse/workspaces/.test/common/deploy.test.bicep index b19908216e..e3cc01d3dc 100644 --- a/modules/Microsoft.Synapse/workspaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Synapse/workspaces/.test/common/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: '<>${serviceShort}001' defaultDataLakeStorageAccountName: nestedDependencies.outputs.storageAccountName diff --git a/modules/Microsoft.Synapse/workspaces/.test/encrwsai/deploy.test.bicep b/modules/Microsoft.Synapse/workspaces/.test/encrwsai/deploy.test.bicep index 399b6bab96..1e4ff7520a 100644 --- a/modules/Microsoft.Synapse/workspaces/.test/encrwsai/deploy.test.bicep +++ b/modules/Microsoft.Synapse/workspaces/.test/encrwsai/deploy.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: '<>${serviceShort}001' defaultDataLakeStorageAccountName: nestedDependencies.outputs.storageAccountName diff --git a/modules/Microsoft.Synapse/workspaces/.test/encrwuai/deploy.test.bicep b/modules/Microsoft.Synapse/workspaces/.test/encrwuai/deploy.test.bicep index 62334ee039..aa5f8defa9 100644 --- a/modules/Microsoft.Synapse/workspaces/.test/encrwuai/deploy.test.bicep +++ b/modules/Microsoft.Synapse/workspaces/.test/encrwuai/deploy.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: '<>${serviceShort}001' defaultDataLakeStorageAccountName: nestedDependencies.outputs.storageAccountName diff --git a/modules/Microsoft.Synapse/workspaces/.test/managedvnet/deploy.test.bicep b/modules/Microsoft.Synapse/workspaces/.test/managedvnet/deploy.test.bicep index eff63deb26..2725d84c7c 100644 --- a/modules/Microsoft.Synapse/workspaces/.test/managedvnet/deploy.test.bicep +++ b/modules/Microsoft.Synapse/workspaces/.test/managedvnet/deploy.test.bicep @@ -39,7 +39,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: '<>${serviceShort}001' defaultDataLakeStorageAccountName: nestedDependencies.outputs.storageAccountName diff --git a/modules/Microsoft.Synapse/workspaces/.test/min/deploy.test.bicep b/modules/Microsoft.Synapse/workspaces/.test/min/deploy.test.bicep index db43813a61..3b49a37f88 100644 --- a/modules/Microsoft.Synapse/workspaces/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Synapse/workspaces/.test/min/deploy.test.bicep @@ -39,7 +39,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: '<>${serviceShort}001' defaultDataLakeStorageAccountName: nestedDependencies.outputs.storageAccountName diff --git a/modules/Microsoft.Synapse/workspaces/readme.md b/modules/Microsoft.Synapse/workspaces/readme.md index e9255c1d02..6e12694970 100644 --- a/modules/Microsoft.Synapse/workspaces/readme.md +++ b/modules/Microsoft.Synapse/workspaces/readme.md @@ -342,7 +342,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-swcom' + name: '${uniqueString(deployment().name, location)}-test-swcom' params: { // Required parameters defaultDataLakeStorageAccountName: '' @@ -487,7 +487,7 @@ module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { ```bicep module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-swensa' + name: '${uniqueString(deployment().name, location)}-test-swensa' params: { // Required parameters defaultDataLakeStorageAccountName: '' @@ -560,7 +560,7 @@ module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { ```bicep module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-swenua' + name: '${uniqueString(deployment().name, location)}-test-swenua' params: { // Required parameters defaultDataLakeStorageAccountName: '' @@ -629,7 +629,7 @@ module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { ```bicep module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-swmanv' + name: '${uniqueString(deployment().name, location)}-test-swmanv' params: { // Required parameters defaultDataLakeStorageAccountName: '' @@ -698,7 +698,7 @@ module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { ```bicep module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-swmin' + name: '${uniqueString(deployment().name, location)}-test-swmin' params: { // Required parameters defaultDataLakeStorageAccountName: '' diff --git a/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/common/deploy.test.bicep b/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/common/deploy.test.bicep index 036d953edd..fa5cfa5712 100644 --- a/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/common/deploy.test.bicep +++ b/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/common/deploy.test.bicep @@ -61,7 +61,7 @@ resource msi_managedIdentityOperatorRoleAssignment 'Microsoft.Authorization/role module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/min/deploy.test.bicep b/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/min/deploy.test.bicep index 68de7c9242..6d54bd503f 100644 --- a/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/min/deploy.test.bicep +++ b/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.VirtualMachineImages/imageTemplates/readme.md b/modules/Microsoft.VirtualMachineImages/imageTemplates/readme.md index e413b416c1..025b4e2ead 100644 --- a/modules/Microsoft.VirtualMachineImages/imageTemplates/readme.md +++ b/modules/Microsoft.VirtualMachineImages/imageTemplates/readme.md @@ -353,7 +353,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module imageTemplates './Microsoft.VirtualMachineImages/imageTemplates/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-vmiitcom' + name: '${uniqueString(deployment().name, location)}-test-vmiitcom' params: { // Required parameters customizationSteps: [ @@ -508,7 +508,7 @@ module imageTemplates './Microsoft.VirtualMachineImages/imageTemplates/deploy.bi ```bicep module imageTemplates './Microsoft.VirtualMachineImages/imageTemplates/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-vmiitmin' + name: '${uniqueString(deployment().name, location)}-test-vmiitmin' params: { // Required parameters customizationSteps: [ diff --git a/modules/Microsoft.Web/connections/.test/common/deploy.test.bicep b/modules/Microsoft.Web/connections/.test/common/deploy.test.bicep index 75d738f02e..37b1342260 100644 --- a/modules/Microsoft.Web/connections/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Web/connections/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry displayName: 'azuremonitorlogs' diff --git a/modules/Microsoft.Web/connections/readme.md b/modules/Microsoft.Web/connections/readme.md index a8711987c2..356b6f2032 100644 --- a/modules/Microsoft.Web/connections/readme.md +++ b/modules/Microsoft.Web/connections/readme.md @@ -173,7 +173,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module connections './Microsoft.Web/connections/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wccom' + name: '${uniqueString(deployment().name, location)}-test-wccom' params: { // Required parameters displayName: 'azuremonitorlogs' diff --git a/modules/Microsoft.Web/hostingEnvironments/.test/asev2/deploy.test.bicep b/modules/Microsoft.Web/hostingEnvironments/.test/asev2/deploy.test.bicep index d8cca37b0e..83d7e4b871 100644 --- a/modules/Microsoft.Web/hostingEnvironments/.test/asev2/deploy.test.bicep +++ b/modules/Microsoft.Web/hostingEnvironments/.test/asev2/deploy.test.bicep @@ -58,7 +58,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/hostingEnvironments/.test/asev3/deploy.test.bicep b/modules/Microsoft.Web/hostingEnvironments/.test/asev3/deploy.test.bicep index fc904cc60c..9964323dd1 100644 --- a/modules/Microsoft.Web/hostingEnvironments/.test/asev3/deploy.test.bicep +++ b/modules/Microsoft.Web/hostingEnvironments/.test/asev3/deploy.test.bicep @@ -58,7 +58,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/hostingEnvironments/readme.md b/modules/Microsoft.Web/hostingEnvironments/readme.md index 954e1560b3..d843b2fb11 100644 --- a/modules/Microsoft.Web/hostingEnvironments/readme.md +++ b/modules/Microsoft.Web/hostingEnvironments/readme.md @@ -219,7 +219,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module hostingEnvironments './Microsoft.Web/hostingEnvironments/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-whasev2' + name: '${uniqueString(deployment().name, location)}-test-whasev2' params: { // Required parameters name: '<>whasev2001' @@ -334,7 +334,7 @@ module hostingEnvironments './Microsoft.Web/hostingEnvironments/deploy.bicep' = ```bicep module hostingEnvironments './Microsoft.Web/hostingEnvironments/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-whasev3' + name: '${uniqueString(deployment().name, location)}-test-whasev3' params: { // Required parameters name: '<>whasev3001' diff --git a/modules/Microsoft.Web/serverfarms/.test/common/deploy.test.bicep b/modules/Microsoft.Web/serverfarms/.test/common/deploy.test.bicep index d47b4949ee..30ef110cd4 100644 --- a/modules/Microsoft.Web/serverfarms/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Web/serverfarms/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/serverfarms/readme.md b/modules/Microsoft.Web/serverfarms/readme.md index df7d98029d..db9053a78f 100644 --- a/modules/Microsoft.Web/serverfarms/readme.md +++ b/modules/Microsoft.Web/serverfarms/readme.md @@ -219,7 +219,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module serverfarms './Microsoft.Web/serverfarms/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wsfcom' + name: '${uniqueString(deployment().name, location)}-test-wsfcom' params: { // Required parameters name: '<>wsfcom001' diff --git a/modules/Microsoft.Web/sites/.test/functionAppCommon/deploy.test.bicep b/modules/Microsoft.Web/sites/.test/functionAppCommon/deploy.test.bicep index 966d0859b5..bd11f24d9c 100644 --- a/modules/Microsoft.Web/sites/.test/functionAppCommon/deploy.test.bicep +++ b/modules/Microsoft.Web/sites/.test/functionAppCommon/deploy.test.bicep @@ -60,7 +60,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost // For the below test case, please consider the guidelines described here: https://github.com/Azure/ResourceModules/wiki/Getting%20started%20-%20Scenario%202%20Onboard%20module%20library%20and%20CI%20environment#microsoftwebsites module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/sites/.test/functionAppMin/deploy.test.bicep b/modules/Microsoft.Web/sites/.test/functionAppMin/deploy.test.bicep index e0d1203153..2fbd5d46a0 100644 --- a/modules/Microsoft.Web/sites/.test/functionAppMin/deploy.test.bicep +++ b/modules/Microsoft.Web/sites/.test/functionAppMin/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/sites/.test/webAppCommon/deploy.test.bicep b/modules/Microsoft.Web/sites/.test/webAppCommon/deploy.test.bicep index 56ea64659c..a47577ba74 100644 --- a/modules/Microsoft.Web/sites/.test/webAppCommon/deploy.test.bicep +++ b/modules/Microsoft.Web/sites/.test/webAppCommon/deploy.test.bicep @@ -58,7 +58,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/sites/.test/webAppMin/deploy.test.bicep b/modules/Microsoft.Web/sites/.test/webAppMin/deploy.test.bicep index 8879a7721d..99172f7713 100644 --- a/modules/Microsoft.Web/sites/.test/webAppMin/deploy.test.bicep +++ b/modules/Microsoft.Web/sites/.test/webAppMin/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/sites/readme.md b/modules/Microsoft.Web/sites/readme.md index cd5d1ba0e8..c4ba318035 100644 --- a/modules/Microsoft.Web/sites/readme.md +++ b/modules/Microsoft.Web/sites/readme.md @@ -12,75 +12,74 @@ This module deploys a web or function app. ## Resource types -| Resource Type | API Version | -| :-- | :-- | -| `Microsoft.Authorization/locks` | [2020-05-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2020-05-01/locks) | -| `Microsoft.Authorization/locks` | [2017-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2017-04-01/locks) | -| `Microsoft.Authorization/roleAssignments` | [2020-10-01-preview](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2020-10-01-preview/roleAssignments) | -| `Microsoft.Authorization/roleAssignments` | [2022-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2022-04-01/roleAssignments) | -| `Microsoft.Insights/diagnosticSettings` | [2021-05-01-preview](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Insights/2021-05-01-preview/diagnosticSettings) | -| `Microsoft.Network/privateEndpoints` | [2022-05-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Network/2022-05-01/privateEndpoints) | +| Resource Type | API Version | +| :-------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------- | +| `Microsoft.Authorization/locks` | [2020-05-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2020-05-01/locks) | +| `Microsoft.Authorization/locks` | [2017-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2017-04-01/locks) | +| `Microsoft.Authorization/roleAssignments` | [2020-10-01-preview](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2020-10-01-preview/roleAssignments) | +| `Microsoft.Authorization/roleAssignments` | [2022-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2022-04-01/roleAssignments) | +| `Microsoft.Insights/diagnosticSettings` | [2021-05-01-preview](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Insights/2021-05-01-preview/diagnosticSettings) | +| `Microsoft.Network/privateEndpoints` | [2022-05-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Network/2022-05-01/privateEndpoints) | | `Microsoft.Network/privateEndpoints/privateDnsZoneGroups` | [2022-05-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Network/2022-05-01/privateEndpoints/privateDnsZoneGroups) | -| `Microsoft.Web/sites` | [2021-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/2021-03-01/sites) | -| `Microsoft.Web/sites/config` | [2022-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/sites) | -| `Microsoft.Web/sites/slots` | [2022-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/2022-03-01/sites/slots) | -| `Microsoft.Web/sites/slots/config` | [2022-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/sites) | +| `Microsoft.Web/sites` | [2021-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/2021-03-01/sites) | +| `Microsoft.Web/sites/config` | [2022-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/sites) | +| `Microsoft.Web/sites/slots` | [2022-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/2022-03-01/sites/slots) | +| `Microsoft.Web/sites/slots/config` | [2022-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/sites) | ## Parameters **Required parameters** -| Parameter Name | Type | Allowed Values | Description | -| :-- | :-- | :-- | :-- | -| `kind` | string | `[app, functionapp, functionapp,linux, functionapp,workflowapp, functionapp,workflowapp,linux]` | Type of site to deploy. | -| `name` | string | | Name of the site. | -| `serverFarmResourceId` | string | | The resource ID of the app service plan to use for the site. | +| Parameter Name | Type | Allowed Values | Description | +| :--------------------- | :----- | :---------------------------------------------------------------------------------------------- | :----------------------------------------------------------- | +| `kind` | string | `[app, functionapp, functionapp,linux, functionapp,workflowapp, functionapp,workflowapp,linux]` | Type of site to deploy. | +| `name` | string | | Name of the site. | +| `serverFarmResourceId` | string | | The resource ID of the app service plan to use for the site. | **Optional parameters** -| Parameter Name | Type | Default Value | Allowed Values | Description | -| :-- | :-- | :-- | :-- | :-- | -| `appInsightId` | string | `''` | | Resource ID of the app insight to leverage for this resource. | -| `appServiceEnvironmentId` | string | `''` | | The resource ID of the app service environment to use for this resource. | -| `appSettingsKeyValuePairs` | object | `{object}` | | The app settings-value pairs except for AzureWebJobsStorage, AzureWebJobsDashboard, APPINSIGHTS_INSTRUMENTATIONKEY and APPLICATIONINSIGHTS_CONNECTION_STRING. | -| `authSettingV2Configuration` | object | `{object}` | | The auth settings V2 configuration. | -| `clientAffinityEnabled` | bool | `True` | | If client affinity is enabled. | -| `clientCertEnabled` | bool | `False` | | To enable client certificate authentication (TLS mutual authentication). | -| `clientCertExclusionPaths` | string | `''` | | Client certificate authentication comma-separated exclusion paths. | -| `clientCertMode` | string | `'Optional'` | `[Optional, OptionalInteractiveUser, Required]` | This composes with ClientCertEnabled setting.

- ClientCertEnabled: false means ClientCert is ignored.

- ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.

- ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted. | -| `cloningInfo` | object | `{object}` | | If specified during app creation, the app is cloned from a source app. | -| `containerSize` | int | `-1` | | Size of the function container. | -| `customDomainVerificationId` | string | `''` | | Unique identifier that verifies the custom domains assigned to the app. Customer will add this ID to a txt record for verification. | -| `dailyMemoryTimeQuota` | int | `-1` | | Maximum allowed daily memory-time quota (applicable on dynamic apps only). | -| `diagnosticEventHubAuthorizationRuleId` | string | `''` | | Resource ID of the diagnostic event hub authorization rule for the Event Hubs namespace in which the event hub should be created or streamed to. | -| `diagnosticEventHubName` | string | `''` | | Name of the diagnostic event hub within the namespace to which logs are streamed. Without this, an event hub is created for each log category. | -| `diagnosticLogCategoriesToEnable` | array | `[if(equals(parameters('kind'), 'functionapp'), createArray('FunctionAppLogs'), createArray('AppServiceHTTPLogs', 'AppServiceConsoleLogs', 'AppServiceAppLogs', 'AppServiceAuditLogs', 'AppServiceIPSecAuditLogs', 'AppServicePlatformLogs'))]` | `[allLogs, AppServiceAppLogs, AppServiceAuditLogs, AppServiceConsoleLogs, AppServiceHTTPLogs, AppServiceIPSecAuditLogs, AppServicePlatformLogs, FunctionAppLogs]` | The name of logs that will be streamed. "allLogs" includes all possible logs for the resource. | -| `diagnosticLogsRetentionInDays` | int | `365` | | Specifies the number of days that logs will be kept for; a value of 0 will retain data indefinitely. | -| `diagnosticMetricsToEnable` | array | `[AllMetrics]` | `[AllMetrics]` | The name of metrics that will be streamed. | -| `diagnosticSettingsName` | string | `[format('{0}-diagnosticSettings', parameters('name'))]` | | The name of the diagnostic setting, if deployed. | -| `diagnosticStorageAccountId` | string | `''` | | Resource ID of the diagnostic storage account. | -| `diagnosticWorkspaceId` | string | `''` | | Resource ID of log analytics workspace. | -| `enabled` | bool | `True` | | Setting this value to false disables the app (takes the app offline). | -| `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | -| `hostNameSslStates` | array | `[]` | | Hostname SSL states are used to manage the SSL bindings for app's hostnames. | -| `httpsOnly` | bool | `True` | | Configures a site to accept only HTTPS requests. Issues redirect for HTTP requests. | -| `hyperV` | bool | `False` | | Hyper-V sandbox. | -| `keyVaultAccessIdentityResourceId` | string | `''` | | The resource ID of the assigned identity to be used to access a key vault with. | -| `location` | string | `[resourceGroup().location]` | | Location for all Resources. | -| `lock` | string | `''` | `['', CanNotDelete, ReadOnly]` | Specify the type of lock. | -| `privateEndpoints` | array | `[]` | | Configuration details for private endpoints. For security reasons, it is recommended to use private endpoints whenever possible. | -| `redundancyMode` | string | `'None'` | `[ActiveActive, Failover, GeoRedundant, Manual, None]` | Site redundancy mode. | -| `roleAssignments` | array | `[]` | | Array of role assignment objects that contain the 'roleDefinitionIdOrName' and 'principalId' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11'. | -| `setAzureWebJobsDashboard` | bool | `[if(contains(parameters('kind'), 'functionapp'), true(), false())]` | | For function apps. If true the app settings "AzureWebJobsDashboard" will be set. If false not. In case you use Application Insights it can make sense to not set it for performance reasons. | -| `siteConfig` | object | `{object}` | | The site config object. | -| `slots` | _[slots](slots/readme.md)_ array | `[]` | | Configuration for deployment slots for an app. | -| `storageAccountId` | string | `''` | | Required if app of kind functionapp. Resource ID of the storage account to manage triggers and logging function executions. | -| `storageAccountRequired` | bool | `False` | | Checks if Customer provided storage account is required. | -| `systemAssignedIdentity` | bool | `False` | | Enables system assigned managed identity on the resource. | -| `tags` | object | `{object}` | | Tags of the resource. | -| `userAssignedIdentities` | object | `{object}` | | The ID(s) to assign to the resource. | -| `virtualNetworkSubnetId` | string | `''` | | Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. | - +| Parameter Name | Type | Default Value | Allowed Values | Description | +| :-------------------------------------- | :------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `appInsightId` | string | `''` | | Resource ID of the app insight to leverage for this resource. | +| `appServiceEnvironmentId` | string | `''` | | The resource ID of the app service environment to use for this resource. | +| `appSettingsKeyValuePairs` | object | `{object}` | | The app settings-value pairs except for AzureWebJobsStorage, AzureWebJobsDashboard, APPINSIGHTS_INSTRUMENTATIONKEY and APPLICATIONINSIGHTS_CONNECTION_STRING. | +| `authSettingV2Configuration` | object | `{object}` | | The auth settings V2 configuration. | +| `clientAffinityEnabled` | bool | `True` | | If client affinity is enabled. | +| `clientCertEnabled` | bool | `False` | | To enable client certificate authentication (TLS mutual authentication). | +| `clientCertExclusionPaths` | string | `''` | | Client certificate authentication comma-separated exclusion paths. | +| `clientCertMode` | string | `'Optional'` | `[Optional, OptionalInteractiveUser, Required]` | This composes with ClientCertEnabled setting.

- ClientCertEnabled: false means ClientCert is ignored.

- ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.

- ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted. | +| `cloningInfo` | object | `{object}` | | If specified during app creation, the app is cloned from a source app. | +| `containerSize` | int | `-1` | | Size of the function container. | +| `customDomainVerificationId` | string | `''` | | Unique identifier that verifies the custom domains assigned to the app. Customer will add this ID to a txt record for verification. | +| `dailyMemoryTimeQuota` | int | `-1` | | Maximum allowed daily memory-time quota (applicable on dynamic apps only). | +| `diagnosticEventHubAuthorizationRuleId` | string | `''` | | Resource ID of the diagnostic event hub authorization rule for the Event Hubs namespace in which the event hub should be created or streamed to. | +| `diagnosticEventHubName` | string | `''` | | Name of the diagnostic event hub within the namespace to which logs are streamed. Without this, an event hub is created for each log category. | +| `diagnosticLogCategoriesToEnable` | array | `[if(equals(parameters('kind'), 'functionapp'), createArray('FunctionAppLogs'), createArray('AppServiceHTTPLogs', 'AppServiceConsoleLogs', 'AppServiceAppLogs', 'AppServiceAuditLogs', 'AppServiceIPSecAuditLogs', 'AppServicePlatformLogs'))]` | `[allLogs, AppServiceAppLogs, AppServiceAuditLogs, AppServiceConsoleLogs, AppServiceHTTPLogs, AppServiceIPSecAuditLogs, AppServicePlatformLogs, FunctionAppLogs]` | The name of logs that will be streamed. "allLogs" includes all possible logs for the resource. | +| `diagnosticLogsRetentionInDays` | int | `365` | | Specifies the number of days that logs will be kept for; a value of 0 will retain data indefinitely. | +| `diagnosticMetricsToEnable` | array | `[AllMetrics]` | `[AllMetrics]` | The name of metrics that will be streamed. | +| `diagnosticSettingsName` | string | `[format('{0}-diagnosticSettings', parameters('name'))]` | | The name of the diagnostic setting, if deployed. | +| `diagnosticStorageAccountId` | string | `''` | | Resource ID of the diagnostic storage account. | +| `diagnosticWorkspaceId` | string | `''` | | Resource ID of log analytics workspace. | +| `enabled` | bool | `True` | | Setting this value to false disables the app (takes the app offline). | +| `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | +| `hostNameSslStates` | array | `[]` | | Hostname SSL states are used to manage the SSL bindings for app's hostnames. | +| `httpsOnly` | bool | `True` | | Configures a site to accept only HTTPS requests. Issues redirect for HTTP requests. | +| `hyperV` | bool | `False` | | Hyper-V sandbox. | +| `keyVaultAccessIdentityResourceId` | string | `''` | | The resource ID of the assigned identity to be used to access a key vault with. | +| `location` | string | `[resourceGroup().location]` | | Location for all Resources. | +| `lock` | string | `''` | `['', CanNotDelete, ReadOnly]` | Specify the type of lock. | +| `privateEndpoints` | array | `[]` | | Configuration details for private endpoints. For security reasons, it is recommended to use private endpoints whenever possible. | +| `redundancyMode` | string | `'None'` | `[ActiveActive, Failover, GeoRedundant, Manual, None]` | Site redundancy mode. | +| `roleAssignments` | array | `[]` | | Array of role assignment objects that contain the 'roleDefinitionIdOrName' and 'principalId' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11'. | +| `setAzureWebJobsDashboard` | bool | `[if(contains(parameters('kind'), 'functionapp'), true(), false())]` | | For function apps. If true the app settings "AzureWebJobsDashboard" will be set. If false not. In case you use Application Insights it can make sense to not set it for performance reasons. | +| `siteConfig` | object | `{object}` | | The site config object. | +| `slots` | _[slots](slots/readme.md)_ array | `[]` | | Configuration for deployment slots for an app. | +| `storageAccountId` | string | `''` | | Required if app of kind functionapp. Resource ID of the storage account to manage triggers and logging function executions. | +| `storageAccountRequired` | bool | `False` | | Checks if Customer provided storage account is required. | +| `systemAssignedIdentity` | bool | `False` | | Enables system assigned managed identity on the resource. | +| `tags` | object | `{object}` | | Tags of the resource. | +| `userAssignedIdentities` | object | `{object}` | | The ID(s) to assign to the resource. | +| `virtualNetworkSubnetId` | string | `''` | | Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. | ### Parameter Usage: `appSettingsKeyValuePairs` @@ -186,7 +185,7 @@ siteConfig: [ To use Private Endpoint the following dependencies must be deployed: -- Destination subnet must be created with the following configuration option - `"privateEndpointNetworkPolicies": "Disabled"`. Setting this option acknowledges that NSG rules are not applied to Private Endpoints (this capability is coming soon). A full example is available in the Virtual Network Module. +- Destination subnet must be created with the following configuration option - `"privateEndpointNetworkPolicies": "Disabled"`. Setting this option acknowledges that NSG rules are not applied to Private Endpoints (this capability is coming soon). A full example is available in the Virtual Network Module. - Although not strictly required, it is highly recommended to first create a private DNS Zone to host Private Endpoint DNS records. See [Azure Private Endpoint DNS configuration](https://docs.microsoft.com/en-us/azure/private-link/private-endpoint-dns) for more information.

@@ -417,32 +416,33 @@ userAssignedIdentities: { ## Outputs -| Output Name | Type | Description | -| :-- | :-- | :-- | -| `defaultHostname` | string | Default hostname of the app. | -| `location` | string | The location the resource was deployed into. | -| `name` | string | The name of the site. | -| `resourceGroupName` | string | The resource group the site was deployed into. | -| `resourceId` | string | The resource ID of the site. | -| `slotResourceIds` | array | The list of the slot resource ids. | -| `slots` | array | The list of the slots. | -| `slotSystemAssignedPrincipalIds` | array | The principal ID of the system assigned identity of slots. | -| `systemAssignedPrincipalId` | string | The principal ID of the system assigned identity. | +| Output Name | Type | Description | +| :------------------------------- | :----- | :--------------------------------------------------------- | +| `defaultHostname` | string | Default hostname of the app. | +| `location` | string | The location the resource was deployed into. | +| `name` | string | The name of the site. | +| `resourceGroupName` | string | The resource group the site was deployed into. | +| `resourceId` | string | The resource ID of the site. | +| `slotResourceIds` | array | The list of the slot resource ids. | +| `slots` | array | The list of the slots. | +| `slotSystemAssignedPrincipalIds` | array | The principal ID of the system assigned identity of slots. | +| `systemAssignedPrincipalId` | string | The principal ID of the system assigned identity. | ## Cross-referenced modules This section gives you an overview of all local-referenced module files (i.e., other CARML modules that are referenced in this module) and all remote-referenced files (i.e., Bicep modules that are referenced from a Bicep Registry or Template Specs). -| Reference | Type | -| :-- | :-- | +| Reference | Type | +| :----------------------------------- | :-------------- | | `Microsoft.Network/privateEndpoints` | Local reference | ## Deployment examples The following module usage examples are retrieved from the content of the files hosted in the module's `.test` folder. - >**Note**: The name of each example is based on the name of the file from which it is taken. - >**Note**: Each example lists all the required parameters first, followed by the rest - each in alphabetical order. +> **Note**: The name of each example is based on the name of the file from which it is taken. + +> **Note**: Each example lists all the required parameters first, followed by the rest - each in alphabetical order.

Example 1: Functionappcommon

@@ -452,7 +452,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module sites './Microsoft.Web/sites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wsfacom' + name: '${uniqueString(deployment().name, location)}-test-wsfacom' params: { // Required parameters kind: 'functionapp' @@ -642,9 +642,7 @@ module sites './Microsoft.Web/sites/deploy.bicep' = { } }, "login": { - "allowedExternalRedirectUrls": [ - "string" - ], + "allowedExternalRedirectUrls": ["string"], "cookieExpiration": { "convention": "FixedTime", "timeToExpiration": "08:00:00" @@ -696,9 +694,7 @@ module sites './Microsoft.Web/sites/deploy.bicep' = { "value": [ { "privateDnsZoneGroup": { - "privateDNSResourceIds": [ - "" - ] + "privateDNSResourceIds": [""] }, "service": "sites", "subnetResourceId": "" @@ -708,9 +704,7 @@ module sites './Microsoft.Web/sites/deploy.bicep' = { "roleAssignments": { "value": [ { - "principalIds": [ - "" - ], + "principalIds": [""], "principalType": "ServicePrincipal", "roleDefinitionIdOrName": "Reader" } @@ -751,7 +745,7 @@ module sites './Microsoft.Web/sites/deploy.bicep' = { ```bicep module sites './Microsoft.Web/sites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wsfamin' + name: '${uniqueString(deployment().name, location)}-test-wsfamin' params: { // Required parameters kind: 'functionapp' @@ -812,7 +806,7 @@ module sites './Microsoft.Web/sites/deploy.bicep' = { ```bicep module sites './Microsoft.Web/sites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wswa' + name: '${uniqueString(deployment().name, location)}-test-wswa' params: { // Required parameters kind: 'app' @@ -953,9 +947,7 @@ module sites './Microsoft.Web/sites/deploy.bicep' = { "value": [ { "privateDnsZoneGroup": { - "privateDNSResourceIds": [ - "" - ] + "privateDNSResourceIds": [""] }, "service": "sites", "subnetResourceId": "" @@ -965,9 +957,7 @@ module sites './Microsoft.Web/sites/deploy.bicep' = { "roleAssignments": { "value": [ { - "principalIds": [ - "" - ], + "principalIds": [""], "principalType": "ServicePrincipal", "roleDefinitionIdOrName": "Reader" } @@ -996,9 +986,7 @@ module sites './Microsoft.Web/sites/deploy.bicep' = { "privateEndpoints": [ { "privateDnsZoneGroup": { - "privateDNSResourceIds": [ - "" - ] + "privateDNSResourceIds": [""] }, "service": "sites", "subnetResourceId": "" @@ -1006,9 +994,7 @@ module sites './Microsoft.Web/sites/deploy.bicep' = { ], "roleAssignments": [ { - "principalIds": [ - "" - ], + "principalIds": [""], "principalType": "ServicePrincipal", "roleDefinitionIdOrName": "Reader" } @@ -1051,7 +1037,7 @@ module sites './Microsoft.Web/sites/deploy.bicep' = { ```bicep module sites './Microsoft.Web/sites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wswamin' + name: '${uniqueString(deployment().name, location)}-test-wswamin' params: { // Required parameters kind: 'app' diff --git a/modules/Microsoft.Web/staticSites/.test/common/deploy.test.bicep b/modules/Microsoft.Web/staticSites/.test/common/deploy.test.bicep index ce8f86aa64..2b1c013238 100644 --- a/modules/Microsoft.Web/staticSites/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Web/staticSites/.test/common/deploy.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/staticSites/.test/min/deploy.test.bicep b/modules/Microsoft.Web/staticSites/.test/min/deploy.test.bicep index 6140c4da12..e1d05f75a3 100644 --- a/modules/Microsoft.Web/staticSites/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Web/staticSites/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/staticSites/readme.md b/modules/Microsoft.Web/staticSites/readme.md index 210b12be8a..836502a6bd 100644 --- a/modules/Microsoft.Web/staticSites/readme.md +++ b/modules/Microsoft.Web/staticSites/readme.md @@ -359,7 +359,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module staticSites './Microsoft.Web/staticSites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wsscom' + name: '${uniqueString(deployment().name, location)}-test-wsscom' params: { // Required parameters name: '<>wsscom001' @@ -508,7 +508,7 @@ module staticSites './Microsoft.Web/staticSites/deploy.bicep' = { ```bicep module staticSites './Microsoft.Web/staticSites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wssmin' + name: '${uniqueString(deployment().name, location)}-test-wssmin' params: { // Required parameters name: '<>wssmin001'