Skip to content

Commit

Permalink
Update main.bicep
Browse files Browse the repository at this point in the history
  • Loading branch information
rrichley authored Dec 30, 2024
1 parent 03652ed commit 54754a1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ param storageAccountName string
param containerName string
param allowedIP string
param logAnalyticsWorkspaceName string
param resourceGroupName string

// Create the Resource Group
resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = {
name: resourceGroupName
location: location
}

// Create Log Analytics Workspace
resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2022-10-01' = {
Expand All @@ -14,6 +21,7 @@ resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2022-10
name: 'PerGB2018'
}
}
scope: resourceGroup
}

// Create Storage Account
Expand All @@ -37,6 +45,7 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2022-09-01' = {
defaultAction: 'Deny'
}
}
scope: resourceGroup
}

// Create Blob Service and Container
Expand Down

0 comments on commit 54754a1

Please sign in to comment.