Skip to content

Commit

Permalink
clarify specification of audit log types (#3136) (#6007)
Browse files Browse the repository at this point in the history
This change is intended to avoid the confusion outlined in
#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.

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Mar 30, 2020
1 parent 63d7c6f commit c737a36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/3136.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none
Improve documentation for multiple log_type values in google_project_iam_audit_config resource
```
3 changes: 3 additions & 0 deletions website/docs/r/google_project_iam.html.markdown
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 c737a36

Please sign in to comment.