I am using the TF module and would like to configure the settings.sql_server_audit_config option. The issue is that it is currently not available as a configurable variable. This can be easily done with Dynamics, similar to the configuration of Query Insights.
Configuring these variables is quite straightforward, and I have a preliminary setup in my local environment. It involves adding an additional block to the google_sql_database_instance resource using dynamic for the configuration of settings.sql_server_audit_config. Additionally, we should include a block in variables.tf to configure bucket, upload_interval, and retention_interval. These variables can default to null for those who do not require the sql_server_audit_config feature.
TL;DR
I am using the TF module and would like to configure the settings.sql_server_audit_config option. The issue is that it is currently not available as a configurable variable. This can be easily done with Dynamics, similar to the configuration of Query Insights.
Terraform Resources
Detailed design
Additional information
No response