Skip to content

Commit 1273877

Browse files
clarify specification of audit log types (#3136) (#1911)
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. Signed-off-by: Modular Magician <[email protected]>
1 parent 66142f5 commit 1273877

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changelog/3136.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
Improve documentation for multiple log_type values in google_project_iam_audit_config resource
3+
```

website/docs/r/google_project_iam.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ resource "google_project_iam_member" "project" {
138138
resource "google_project_iam_audit_config" "project" {
139139
project = "your-project-id"
140140
service = "allServices"
141+
audit_log_config {
142+
log_type = "ADMIN_READ"
143+
}
141144
audit_log_config {
142145
log_type = "DATA_READ"
143146
exempted_members = [

0 commit comments

Comments
 (0)