Skip to content

Instantly share code, notes, and snippets.

@bnlf
Created November 3, 2018 01:20
Show Gist options
  • Save bnlf/df4dc7a94eb58c891c2557e1bd27862f to your computer and use it in GitHub Desktop.
Save bnlf/df4dc7a94eb58c891c2557e1bd27862f to your computer and use it in GitHub Desktop.
ARM Template for Databricks
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"DeployLocation": {
"type": "string",
"allowedValues": [
"Australia East",
"Brazil South",
"West US2"
],
"defaultValue": "West US2"
},
"DatabricksWorkspaceName": {
"type": "string",
"defaultValue": "demodbk0001"
}
},
"variables": {
"managedResourceGroupName": "[concat('databricks-rg-', parameters('DatabricksWorkspaceName'), '-', uniqueString(parameters('DatabricksWorkspaceName'), resourceGroup().id))]"
},
"resources": [
{
"apiVersion": "2018-04-01",
"location": "[parameters('DeployLocation')]",
"name": "[parameters('DatabricksWorkspaceName')]",
"sku": {
"name": "Premium"
},
"properties": {
"ManagedResourceGroupId": "[concat(subscription().id, '/resourceGroups/', variables('managedResourceGroupName'))]"
},
"type": "Microsoft.Databricks/workspaces"
}
]
}
@bnlf
Copy link
Author

bnlf commented Nov 3, 2018

I've also tried using "westus2" for location instead "West US2". Same results. Other regions I tried: Australia East, East US. Tried vanilla template for the portal and the one from 101.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment