Skip to content

Commit

Permalink
Only provision File Storage Account if defined
Browse files Browse the repository at this point in the history
  • Loading branch information
evanjamesjackson committed Feb 3, 2025
1 parent 91b48ea commit 76bfa8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ module storageAccount 'storage-account/storage-account.bicep' = {
param fileStorageAccountName string = ''
param fileStorageAccountSku string = 'Premium_LRS'
param fileStorageAccountFileShares array = []
module fileStorage './file-storage/file-storage.bicep' = {
module fileStorage './file-storage/file-storage.bicep' = if (!empty(fileStorageAccountName)) {
name: 'file-storage-account'
dependsOn: [virtualNetwork]
params: {
Expand Down

0 comments on commit 76bfa8d

Please sign in to comment.