-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use bicep function for storage account name (#42271)
* Use bicep function for storage account name * lambda * revert param rename
- Loading branch information
1 parent
e7989a4
commit f0b0b55
Showing
3 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
20 changes: 20 additions & 0 deletions
20
...ioning/Azure.Provisioning/tests/Infrastructure/StorageBlobDefaultsInPromptMode/main.bicep
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
targetScope = 'resourceGroup' | ||
|
||
|
||
resource storageAccount_Ls2Cd9uGu 'Microsoft.Storage/storageAccounts@2022-09-01' = { | ||
name: toLower(take(concat('photoAcct', uniqueString(resourceGroup().id)), 24)) | ||
location: resourceGroup().location | ||
sku: { | ||
name: 'Premium_LRS' | ||
} | ||
kind: 'StorageV2' | ||
properties: { | ||
} | ||
} | ||
|
||
resource blobService_OdYIZd2T2 'Microsoft.Storage/storageAccounts/blobServices@2022-09-01' = { | ||
parent: storageAccount_Ls2Cd9uGu | ||
name: 'default' | ||
properties: { | ||
} | ||
} |
This file contains 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