From 9cc00be8ec0d1f3da245824e2ac3bc4812844009 Mon Sep 17 00:00:00 2001 From: Anthony Shaw Date: Fri, 1 Sep 2023 16:24:46 +1000 Subject: [PATCH] Default supportsHttpsTrafficOnly to true --- templates/common/infra/bicep/core/storage/storage-account.bicep | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/common/infra/bicep/core/storage/storage-account.bicep b/templates/common/infra/bicep/core/storage/storage-account.bicep index 4d8e9b490d1..4b6febbeaa0 100644 --- a/templates/common/infra/bicep/core/storage/storage-account.bicep +++ b/templates/common/infra/bicep/core/storage/storage-account.bicep @@ -18,6 +18,7 @@ param deleteRetentionPolicy object = {} param dnsEndpointType string = 'Standard' param kind string = 'StorageV2' param minimumTlsVersion string = 'TLS1_2' +param supportsHttpsTrafficOnly bool = true param networkAcls object = { bypass: 'AzureServices' defaultAction: 'Allow' @@ -42,6 +43,7 @@ resource storage 'Microsoft.Storage/storageAccounts@2022-05-01' = { minimumTlsVersion: minimumTlsVersion networkAcls: networkAcls publicNetworkAccess: publicNetworkAccess + supportsHttpsTrafficOnly: supportsHttpsTrafficOnly } resource blobServices 'blobServices' = if (!empty(containers)) {