Configure verbose audit logs through terraform
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 06:49 AM
Hi everyone,
I was looking into the databricks_workspace_conf Terraform resource to configure Verbose Audit Logs (and avoid changing it through the UI). However, I attempted to apply this configuration and encountered the following error:
Error: cannot create workspace conf: invalid Databricks Workspace configuration
My module configuration was as follows:
resource "databricks_workspace_conf" "this" {
custom_config = {
"enableVerboseAuditLogs" : true
}
}I came across a previous thread discussing a similar issue, which led me to a PowerShell script listing the available commands—and it seems that this option is not present.
Would it be possible to enable this configuration through this module in the future?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2025 09:54 AM
@fedemgp I was able to turn the desired setting on and off with Terraform with this code: GitHub Gist
I'm using Databricks Terraform provider version 1.74.0 and my Databricks runs on Google Cloud.