Skip to content

Commit 54e2c8b

Browse files
committed
Removed use of json('null')
1 parent a3466b3 commit 54e2c8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-resource-manager/bicep/conditional-resource-deployment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ resource vmName_omsOnboarding 'Microsoft.Compute/virtualMachines/extensions@2017
9494
typeHandlerVersion: '1.0'
9595
autoUpgradeMinorVersion: true
9696
settings: {
97-
workspaceId: ((!empty(logAnalytics)) ? reference(logAnalytics, '2015-11-01-preview').customerId : json('null'))
97+
workspaceId: ((!empty(logAnalytics)) ? reference(logAnalytics, '2015-11-01-preview').customerId : null)
9898
}
9999
protectedSettings: {
100-
workspaceKey: ((!empty(logAnalytics)) ? listKeys(logAnalytics, '2015-11-01-preview').primarySharedKey : json('null'))
100+
workspaceKey: ((!empty(logAnalytics)) ? listKeys(logAnalytics, '2015-11-01-preview').primarySharedKey : null)
101101
}
102102
}
103103
}

0 commit comments

Comments
 (0)