Skip to content

Commit

Permalink
Bug/issue #4 and #5 (#6)
Browse files Browse the repository at this point in the history
* Fix issue #4

* Fix #5 randomize resource names
  • Loading branch information
webtonize authored Jan 4, 2024
1 parent a8c6edf commit b1e0a4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ param azDoOrganization string
param azDoPAT string

@description('Log Analytics Workspace Name')
param logAnalyticsWorkspace_Name string = 'log-psrule-azdo-prd-weu'
param logAnalyticsWorkspace_Name string = 'log-azdo-${uniqueString(subscription().subscriptionId, resourceGroup().id)}'

@description('Key Vault Name')
param keyVault_Name string = 'kv-psrule-azdo-prd-weu'
param keyVault_Name string = 'kv-azdo-${uniqueString(subscription().subscriptionId, resourceGroup().id)}'

@description('Location for all resources')
param location string = 'westeurope'
param location string = resourceGroup().location

resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2021-12-01-preview' = {
name: logAnalyticsWorkspace_Name
Expand Down

0 comments on commit b1e0a4b

Please sign in to comment.