Skip to content

Instantly share code, notes, and snippets.

@bnlf
Created November 3, 2018 01:20
Show Gist options
  • Select an option

  • Save bnlf/df4dc7a94eb58c891c2557e1bd27862f to your computer and use it in GitHub Desktop.

Select an option

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

bnlf commented Nov 3, 2018

Copy link
Copy Markdown
Author

Url is broken. No matter the region.
image

I also can't login to the workspace. Sometimes it gives an error or that my user doesn't have access even though I'm owner of the subscription. Deploying from Portal Gui works.

@bnlf

bnlf commented Nov 3, 2018

Copy link
Copy Markdown
Author

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