You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/guides/version_5_upgrade.html.markdown
+39Lines changed: 39 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -331,3 +331,42 @@ If you were relying on accessing an individual flag by index (for example, `goog
331
331
### `rule.rate_limit_options.encorce_on_key` no longer has default value
332
332
333
333
Previously, the default value for `rule.rate_limit_options.encorce_on_key` is "ALL", now this field no longer has a default value.
334
+
335
+
## Resource: `google_logging_project_sink`
336
+
337
+
### `unique_writer_identity` now defaults to `TRUE`
338
+
339
+
Previously, the default value of `unique_writer_identity` was `FALSE`. Now it will be `TRUE`.
340
+
341
+
This will change the behavior for new sinks created using the default value. Previously, all sinks created using the default value had a `writer_identity` of `serviceAccount:[email protected]`. Now sinks created using the default value will have a `writer_identity` that differs depending on the parent resource, for example: `serviceAccount:service-<PROJECT_NUMBER>@gcp-sa-logging.iam.gserviceaccount.com` for a project-level sink.
342
+
343
+
IAM permissions that were manually configured for `[email protected]` and `iam_bindings` that are hard-coded to use `[email protected]` will not properly apply permissions to the `writer_identity` of new sinks created using the default value. **If a sink is missing the proper permissions it will be successfully created but it will fail to export log data.**
344
+
345
+
Currently there are only two types of log sinks that populate `writer_identity` and can be created with `unique_writer_identity = false`. Only these types of sinks may be affected:
346
+
* Sinks with a Cloud Pub/Sub topic `destination` for which the topic is in the same project as the sink.
347
+
* Sinks for a BigQuery dataset `destination` for which the dataset is in the same project as the sink.
348
+
349
+
To ensure that proper permissions are in place for new sinks created using the default value, check that the related `iam_bindings` are configured and reference the sink's `writer_identity` property.
0 commit comments