File tree Expand file tree Collapse file tree
samples/features/security/contoso-hr-sql-db/setup Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ param clientIP string
2323@description ('The location (the Azure region) for all resources.' )
2424param 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}
You can’t perform that action at this time.
0 commit comments