hi @BhargavaGunnam-MSFT thank you for taking your time to look at my question.
Im looking at my main.bicep file and I cant locate that code you have in yellow but I found something similar in the main.json file. Would this be the bit of code I delete?
"resources": [
{
"type": "Microsoft.Databricks/workspaces",
"apiVersion": "2021-04-01-preview",
"name": "[parameters('databricksName')]",
"location": "[parameters('location')]",
"tags": "[parameters('tags')]",
"sku": {
"name": "premium"
},
"properties": {
"managedResourceGroupId": "[format('{0}/resourceGroups/{1}-rg', subscription().id, parameters('databricksName'))]",
"parameters": {
"customVirtualNetworkId": {
"value": "[parameters('vnetId')]"
},
"customPrivateSubnetName": {
"value": "[parameters('privateSubnetName')]"
},
"customPublicSubnetName": {
"value": "[parameters('publicSubnetName')]"
},
"enableNoPublicIp": {
"value": true
},
"prepareEncryption": {
"value": true
},
"requireInfrastructureEncryption": {
"value": false
}
}
}
}
],
"outputs": {
"databricksId": {
"type": "string",
"value": "[resourceId('Microsoft.Databricks/workspaces', parameters('databricksName'))]"
},
"databricksWorkspaceUrl": {
"type": "string",
"value": "[reference(resourceId('Microsoft.Databricks/workspaces', parameters('databricksName'))).workspaceUrl]"
},
"databricksApiUrl": {
"type": "string",
"value": "[format('https://{0}.azuredatabricks.net', parameters('location'))]"
}
}
}
}
},