diff --git a/avm/res/databricks/workspace/README.md b/avm/res/databricks/workspace/README.md index e9a01e2beb..374130e299 100644 --- a/avm/res/databricks/workspace/README.md +++ b/avm/res/databricks/workspace/README.md @@ -97,7 +97,7 @@ module workspace 'br/public:avm/res/databricks/workspace:' = { name: 'workspaceDeployment' params: { // Required parameters - name: 'dwmax001' + name: 'dwmax002' // Non-required parameters amlWorkspaceResourceId: '' customerManagedKey: { @@ -208,7 +208,7 @@ module workspace 'br/public:avm/res/databricks/workspace:' = { "parameters": { // Required parameters "name": { - "value": "dwmax001" + "value": "dwmax002" }, // Non-required parameters "amlWorkspaceResourceId": { diff --git a/avm/res/databricks/workspace/tests/e2e/max/dependencies.bicep b/avm/res/databricks/workspace/tests/e2e/max/dependencies.bicep index 76d138190e..9405b82ff3 100644 --- a/avm/res/databricks/workspace/tests/e2e/max/dependencies.bicep +++ b/avm/res/databricks/workspace/tests/e2e/max/dependencies.bicep @@ -406,3 +406,6 @@ output keyVaultDiskKeyName string = keyVaultDisk::key.name @description('The principal ID of the created Managed Identity.') output managedIdentityPrincipalId string = managedIdentity.properties.principalId + +@description('The name of the created Log Analytics Workspace.') +output logAnalyticsWorkspaceName string = logAnalyticsWorkspace.name diff --git a/avm/res/databricks/workspace/tests/e2e/max/main.test.bicep b/avm/res/databricks/workspace/tests/e2e/max/main.test.bicep index a607df924c..5b577e3016 100644 --- a/avm/res/databricks/workspace/tests/e2e/max/main.test.bicep +++ b/avm/res/databricks/workspace/tests/e2e/max/main.test.bicep @@ -61,7 +61,7 @@ module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/t name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { storageAccountName: 'dep${namePrefix}diasa${serviceShort}' - logAnalyticsWorkspaceName: 'dep-${namePrefix}-law-${serviceShort}' + logAnalyticsWorkspaceName: nestedDependencies.outputs.logAnalyticsWorkspaceName eventHubNamespaceEventHubName: 'dep-${namePrefix}-evh-${serviceShort}' eventHubNamespaceName: 'dep-${namePrefix}-evhns-${serviceShort}' location: resourceLocation @@ -78,7 +78,7 @@ module testDeployment '../../../main.bicep' = [ scope: resourceGroup name: '${uniqueString(deployment().name, resourceLocation)}-test-${serviceShort}-${iteration}' params: { - name: '${namePrefix}${serviceShort}001' + name: '${namePrefix}${serviceShort}002' location: resourceLocation diagnosticSettings: [ { diff --git a/avm/res/databricks/workspace/tests/e2e/waf-aligned/dependencies.bicep b/avm/res/databricks/workspace/tests/e2e/waf-aligned/dependencies.bicep index 0f3406899f..12fecf8ba9 100644 --- a/avm/res/databricks/workspace/tests/e2e/waf-aligned/dependencies.bicep +++ b/avm/res/databricks/workspace/tests/e2e/waf-aligned/dependencies.bicep @@ -397,3 +397,6 @@ output keyVaultDiskKeyName string = keyVaultDisk::key.name @description('The principal ID of the created Managed Identity.') output managedIdentityPrincipalId string = managedIdentity.properties.principalId + +@description('The name of the created Log Analytics Workspace.') +output logAnalyticsWorkspaceName string = logAnalyticsWorkspace.name diff --git a/avm/res/databricks/workspace/tests/e2e/waf-aligned/main.test.bicep b/avm/res/databricks/workspace/tests/e2e/waf-aligned/main.test.bicep index 908a07ea2e..c965736721 100644 --- a/avm/res/databricks/workspace/tests/e2e/waf-aligned/main.test.bicep +++ b/avm/res/databricks/workspace/tests/e2e/waf-aligned/main.test.bicep @@ -61,7 +61,7 @@ module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/t name: '${uniqueString(deployment().name, resourceLocation)}-diagnosticDependencies' params: { storageAccountName: 'dep${namePrefix}diasa${serviceShort}' - logAnalyticsWorkspaceName: 'dep-${namePrefix}-law-${serviceShort}' + logAnalyticsWorkspaceName: nestedDependencies.outputs.logAnalyticsWorkspaceName eventHubNamespaceEventHubName: 'dep-${namePrefix}-evh-${serviceShort}' eventHubNamespaceName: 'dep-${namePrefix}-evhns-${serviceShort}' location: resourceLocation