Skip to content

Instantly share code, notes, and snippets.

@abij
abij / 1_databricks_scim_account_groups.tf
Last active June 13, 2025 08:00
All in one terraform example to manage Azure SCIM-app and Account-level groups.
terraform {
required_providers {
azuread = {
source = "hashicorp/azuread"
# Latest version selected
}
databricks = {
source = "databricks/databricks"
# Latest version selected
}
'''
spark/bin/spark-submit \
--master local --driver-memory 4g \
--num-executors 2 --executor-memory 4g \
--packages org.apache.spark:spark-sql-kafka-0-10_2.11:2.4.0 \
sstreaming-spark-final.py
'''
from pyspark.sql import SparkSession
from pyspark.sql.types import *
from pyspark.sql.functions import expr