Skip to content

Commit

Permalink
Update storage-account.bicep
Browse files Browse the repository at this point in the history
  • Loading branch information
rrichley authored Dec 29, 2024
1 parent d6b001b commit 710e0cd
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions bicep/storage-account.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,21 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2022-09-01' = {
defaultAction: 'Deny'
ipRules: [
{
ipAddressOrRange: allowedIP
value: allowedIP
action: 'Allow'
}
]
}
}
}

resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = {
resource blobService 'Microsoft.Storage/storageAccounts/blobServices@2022-09-01' = {
parent: storageAccount
name: 'default'
}

resource container 'Microsoft.Storage/storageAccounts/blobServices/containers@2022-09-01' = {
parent: blobService
name: containerName
properties: {
publicAccess: 'Blob'
Expand Down

0 comments on commit 710e0cd

Please sign in to comment.