Skip to content

Commit 371b206

Browse files
committed
Update azuredeploy.bicep
1 parent 53d6439 commit 371b206

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

samples/features/security/contoso-hr-sql-db/setup/azuredeploy.bicep

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ param clientIP string
2323
@description('The location (the Azure region) for all resources.')
2424
param location string = resourceGroup().location
2525

26-
@description('The current time.')
27-
param currentTime string = utcNow('u')
2826

2927
////////////////////////////////////////////
3028
// Create and configure a logical server //
@@ -128,7 +126,7 @@ resource WebApp_Resource 'Microsoft.Web/sites@2020-12-01' = {
128126
properties: {
129127
serverFarmId: WebAppServicePlan_Resource.id
130128
}
131-
129+
132130
//Set the database connection string for the application
133131
resource WebAppConnectionString_Resource 'config' = {
134132
name: 'connectionstrings'
@@ -154,6 +152,7 @@ resource WebApp_Resource 'Microsoft.Web/sites@2020-12-01' = {
154152
isManualIntegration: true
155153
}
156154
}
155+
}
157156
}
158157

159158
//////////////////////////////////////
@@ -219,9 +218,10 @@ resource Key_Resource 'Microsoft.KeyVault/vaults/keys@2019-09-01' = {
219218
name: '${KeyVault_Resource.name}/CMK'
220219
tags: {}
221220
properties: {
221+
attributes: {
222+
enabled: true
223+
}
222224
kty: 'RSA'
225+
keySize: 4096
223226
}
224-
dependsOn: [
225-
KeyVault_Resource
226-
]
227227
}

0 commit comments

Comments
 (0)