Skip to content

Commit

Permalink
clarify specification of audit log types (GoogleCloudPlatform#3136)
Browse files Browse the repository at this point in the history
This change is intended to avoid the confusion outlined in
hashicorp/terraform-provider-google#5446,
which I also ran into. Having multiple audit logs in the example should
make it readily apparent how the resource is intended to be used.
  • Loading branch information
kujenga authored and Nathan Klish committed May 18, 2020
1 parent 3db10b2 commit 8f34735
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ resource "google_project_iam_member" "project" {
resource "google_project_iam_audit_config" "project" {
project = "your-project-id"
service = "allServices"
audit_log_config {
log_type = "ADMIN_READ"
}
audit_log_config {
log_type = "DATA_READ"
exempted_members = [
Expand Down

0 comments on commit 8f34735

Please sign in to comment.