Skip to content

Commit 4e9ba69

Browse files
Fix broken example hcl in google_logging_project_sink (#6206) (#4440)
Signed-off-by: Modular Magician <[email protected]>
1 parent f124d56 commit 4e9ba69

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.changelog/6206.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
fix example hcl in `google_logging_project_sink`.
3+
```

website/docs/r/logging_project_sink.html.markdown

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,19 @@ resource "google_logging_project_sink" "log-bucket" {
9999
destination = "logging.googleapis.com/projects/my-project/locations/global/buckets/_Default"
100100
101101
exclusions {
102-
name = "nsexcllusion1"
103-
description = "Exclude logs from namespace-1 in k8s"
104-
filter = "resource.type = k8s_container resource.labels.namespace_name=\"namespace-1\" "
105-
}
102+
name = "nsexcllusion1"
103+
description = "Exclude logs from namespace-1 in k8s"
104+
filter = "resource.type = k8s_container resource.labels.namespace_name=\"namespace-1\" "
105+
}
106106
107-
exclusions {
108-
name = "nsexcllusion2"
109-
description = "Exclude logs from namespace-2 in k8s"
110-
filter = "resource.type = k8s_container resource.labels.namespace_name=\"namespace-2\" "
111-
}
107+
exclusions {
108+
name = "nsexcllusion2"
109+
description = "Exclude logs from namespace-2 in k8s"
110+
filter = "resource.type = k8s_container resource.labels.namespace_name=\"namespace-2\" "
111+
}
112112
113113
unique_writer_identity = true
114+
}
114115
```
115116

116117

0 commit comments

Comments
 (0)