Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing config for settings.sql_server_audit_config #666

Open
Samuel-M-H opened this issue Nov 4, 2024 · 1 comment
Open

Missing config for settings.sql_server_audit_config #666

Samuel-M-H opened this issue Nov 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Samuel-M-H
Copy link

Samuel-M-H commented Nov 4, 2024

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

https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/sql_database_instance

Detailed design

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.

Additional information

No response

@Samuel-M-H Samuel-M-H added the enhancement New feature or request label Nov 4, 2024
@benjamingorcor
Copy link

i have the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants