Skip to content

Commit

Permalink
feat: add location parameter
Browse files Browse the repository at this point in the history
For demo purposes
  • Loading branch information
hknutsen committed Dec 5, 2024
1 parent 78dbe84 commit c6c94ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ param ipRules array = []
@description('An array of object IDs of user, group or service principals that should have access to the Terraform backend.')
param principalIds array = []

param location string = resourceGroup().location

resource storageAccount 'Microsoft.Storage/storageAccounts@2023-05-01' = {
name: storageAccountName
location: resourceGroup().location
location: location
sku: {
name: 'Standard_GRS'
}
Expand Down

0 comments on commit c6c94ef

Please sign in to comment.