Skip to content

Commit a4bb2b0

Browse files
authored
Storage sku (#628)
1 parent 3385187 commit a4bb2b0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

infra/main.bicep

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ param storageAccountName string = ''
2525
param storageResourceGroupName string = ''
2626
param storageResourceGroupLocation string = location
2727
param storageContainerName string = 'content'
28+
param storageSkuName string // Set in main.parameters.json
2829

2930
param openAiServiceName string = ''
3031
param openAiResourceGroupName string = ''
@@ -219,7 +220,7 @@ module storage 'core/storage/storage-account.bicep' = {
219220
tags: tags
220221
publicNetworkAccess: 'Enabled'
221222
sku: {
222-
name: 'Standard_LRS'
223+
name: storageSkuName
223224
}
224225
deleteRetentionPolicy: {
225226
enabled: true

infra/main.parameters.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
"storageResourceGroupName": {
5454
"value": "${AZURE_STORAGE_RESOURCE_GROUP}"
5555
},
56+
"storageSkuName": {
57+
"value": "${AZURE_STORAGE_SKU=Standard_LRS}"
58+
},
5659
"chatGptDeploymentName": {
5760
"value": "${AZURE_OPENAI_CHATGPT_DEPLOYMENT=chat}"
5861
},

0 commit comments

Comments
 (0)