Skip to content

Commit

Permalink
Changes for Issue #59, #63 and #64 (#70)
Browse files Browse the repository at this point in the history
Co-authored-by: Vishal Kalal <vishal.rajasthan@gmail.com>
  • Loading branch information
kalalvishal and vkalal07 committed Jan 29, 2024
1 parent fc5a4ee commit 5cc5c3e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ module webAppModule './modules/webapp/main.bicep' = {
// TODO: Consider deploying as P0V3 to ensure the deployment runs on a scale unit that supports P_v3 for future upgrades. GH issue #50
skuName: 'S1'
skuTier: 'Standard'
peSubnetId: virtualNetworkModule.outputs.subnets.ComputeSubnet.id
peSubnetId: virtualNetworkModule.outputs.subnets.PrivateLinkSubnet.id
appInsights_connectionString: monitoring.outputs.appInsightsResourceId
appInsights_instrumentationKey: monitoring.outputs.appInsightsInstrumentationKey
linuxFxVersion: 'php|8.2'
Expand Down
2 changes: 2 additions & 0 deletions modules/storage/storage.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ param keyVaultSecretName string
param tags object
param deploymentNameStructure string
param kind string
param minTlsVersion string = 'TLS1_2'

var storageType = kind == 'FileStorage' ? 'file' : 'blob'

Expand All @@ -31,6 +32,7 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2022-09-01' = {
properties: {
allowBlobPublicAccess: false
publicNetworkAccess: 'Disabled'
minimumTlsVersion: minTlsVersion
}
}

Expand Down
3 changes: 2 additions & 1 deletion modules/webapp/webapp.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ param appInsights_instrumentationKey string
param storageAccountKeySecretRef string
param storageAccountName string
param storageAccountContainerName string
param minTlsVersion string = '1.2'

param uamiId string

Expand Down Expand Up @@ -66,7 +67,7 @@ resource webApp 'Microsoft.Web/sites@2022-03-01' = {
http20Enabled: true

linuxFxVersion: linuxFxVersion
minTlsVersion: '1.2'
minTlsVersion: minTlsVersion
ftpsState: 'FtpsOnly'
appCommandLine: prerequisiteCommand
appSettings: [
Expand Down

0 comments on commit 5cc5c3e

Please sign in to comment.