Hi, I am working on spinning up a cluster and a databricks workspace in a Resource Group. The idea is to create a template and minimize manual intervention, using the below code and not sure on how to setup the yaml file. If there any resources for doing same could you please share.
import json
import logging
import yaml
import base64
import requests
import time
from azure.common.credentials import ServicePrincipalCredentials
from azure.mgmt.resource import ResourceManagementClient
from azure.mgmt.resource.resources.models import DeploymentMode
YAML_VARS = "DemoDBWorkspace\\databricks_workspace_vars.yaml"
JSON_TEMPLATE_PATH = "DemoDBWorkspace\\databricks_premium_workspaceLab.json"
RESOURCE_GROUP_PARAMS = {"location": "eastus"}
RESOURCE_GROUP_NAME = "DemoRG"
JSON_REQUEST_PATH = "DemoDBWorkspace\\deploy_databricks_cluster_restapi.json"
Thank you