This is a simple terraform example of creating the following in the Databricks Account Console:
- Network Connectivity Config
- NCC Private Endpoint for Storage
- NCC Workspace Binding
- Databricks Account Admin Access
- Must run
az login
from the cli and authenticate into your azure account - Permission to create the NCC Object
- Copy the
env.tfvars.example
file into aenv.tfvars
and make the appropriate changes to the following variablesdatabricks_resource_id
prefix
storage_resource_id
storage_group_id
- Run
terraform init
- To see the terraform plan, run the following
terraform plan -var-file="env.tfvars"
- To create the resources, run the following
terraform apply -var-file="env.tfvars"
- To delete and clean up your resources created in step 3, run
terraform destroy -var-file="env.tfvars"