Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Storage Transfer Service with Resource Location restrictions

Hi,

I have an organisation with a Resource Location Restriction in europe-west3-locations applicable to all projects in the organisation. I want to set up a Storage Transfer Service job to take data from an external project (managed by an external organisation) with location in the us-central1-locations into my european buckets. We have already successfully assigned read-write permissions to the the storage transfer service's service account for both locations. The data transfer works only if I modify my policy to allow resources in the US locations, otherwise the request gets blocked by the policy. Is this how this is supposed to work? I'm a bit surprised since a simple gsutil cp between the same locations is not blocked by the Resource Location Restriction. Any help appreciated.

Solved Solved
2 2 732
1 ACCEPTED SOLUTION