Last active
December 27, 2021 08:26
-
-
Save lukemurraynz/e2e087010c73167fdb2ce4a44ad660e9 to your computer and use it in GitHub Desktop.
storageaccount.bicep
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param storageaccprefix string = '' | |
var location = resourceGroup().location | |
resource storageacc 'Microsoft.Storage/storageAccounts@2021-06-01' = { | |
name: '${storageaccprefix}${uniqueString(resourceGroup().id)}' | |
location: location | |
sku: { | |
name: 'Standard_ZRS' | |
} | |
kind: 'StorageV2' | |
properties: { | |
defaultToOAuthAuthentication: false | |
allowCrossTenantReplication: false | |
minimumTlsVersion: 'TLS1_2' | |
allowBlobPublicAccess: true | |
allowSharedKeyAccess: true | |
isHnsEnabled: true | |
supportsHttpsTrafficOnly: true | |
encryption: { | |
services: { | |
blob: { | |
keyType: 'Account' | |
enabled: true | |
} | |
} | |
keySource: 'Microsoft.Storage' | |
} | |
accessTier: 'Hot' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment