cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Configure verbose audit logs through terraform

fedemgp
New Contributor

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!

1 REPLY 1

TheRealOliver
Contributor

@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.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now