This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use the databricks-cli | |
# | |
# 1. Login as account-admin into Account Console | |
# 2. Save into profile "ACCOUNT" | |
# | |
# databricks auth login --profile ACCOUNT --host https://accounts.azuredatabricks.net --account-id 1234-2134-1234-1234 | |
databricks account --profile ACCOUNT groups create --json @databricks-account-console-admin-group.json --output json > created.json | |
# Use jq to get the Id of the group: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_providers { | |
azuread = { | |
source = "hashicorp/azuread" | |
# Latest version selected | |
} | |
databricks = { | |
source = "databricks/databricks" | |
# Latest version selected | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Inspiration based on: https://docs.databricks.com/_static/notebooks/datadog-init-script.html | |
# Improvements: | |
# - Use 'spark_url' in config (instead of resourcemanager_uri) | |
# - Use Databricks Secrets to store and retrieve datadog-api-key | |
# - Works with SingleNode-clusters | |
# - Update datadog-spark integration (when needed), to support Structured Streaming metrics. |