Back to Vector

ACL is now optional for the Google Cloud Storage sink

website/content/en/highlights/2020-04-09-make-acl-optional.md

0.55.0568 B
Original Source

GCP Cloud Storage buckets with uniform bucket-level access don't support setting ACL for objects inside them (HTTP 400 error is returned). Therefore, the Vector gcp_cloud_storage sink no longer supplies a x-goog-acl header by default.

Upgrade Guide

If you wish to set an ACL for your GCP object you'll need to explicitly set the acl option:

diff
 [sinks.gcp_cloud_storage]
   type = "gcp_cloud_storage"
+  acl = "projectPrivate" # change as desired

That's it!