Last active
April 30, 2022 00:59
-
-
Save nakamasato/4b7310c7d1ca9ae77cce5917833bd8d2 to your computer and use it in GitHub Desktop.
Configure Data Access Audit Log with Terraform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "google_project_iam_audit_config" "all-services" { | |
project = "<your project>" | |
service = "allServices" | |
audit_log_config { | |
log_type = "ADMIN_READ" | |
} | |
audit_log_config { | |
log_type = "DATA_READ" | |
} | |
audit_log_config { | |
log_type = "DATA_WRITE" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment