Skip to content

Commit

Permalink
clarify specification of audit log types (#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 Mar 30, 2020
1 parent 4918014 commit 618500a
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 618500a

Please sign in to comment.