Skip to content

Commit a8110f1

Browse files
Altering parameter on Azure for databricks_sql_global_config (#1849)
Altered parameter value for the setting `spark.hadoop.fs.azure.account.oauth2.client.id` from `tenant_id` to `application_id` (the client_id should be the `Application (client) ID` for the service principal application on AzureAD and not the tenant_id
1 parent 832f3ab commit a8110f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/resources/sql_global_config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ resource "databricks_sql_global_config" "this" {
2929
data_access_config = {
3030
"spark.hadoop.fs.azure.account.auth.type" : "OAuth",
3131
"spark.hadoop.fs.azure.account.oauth.provider.type" : "org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider",
32-
"spark.hadoop.fs.azure.account.oauth2.client.id" : "${var.tenant_id}",
32+
"spark.hadoop.fs.azure.account.oauth2.client.id" : "${var.application_id}",
3333
"spark.hadoop.fs.azure.account.oauth2.client.secret" : "{{secrets/${local.secret_scope}/${local.secret_key}}}",
3434
"spark.hadoop.fs.azure.account.oauth2.client.endpoint" : "https://login.microsoftonline.com/${var.tenant_id}/oauth2/token"
3535
}

0 commit comments

Comments
 (0)