Issues regarding Access Data from an External Bucket
Hi,
I am working on a project using Terra. I have a writer's permission for my terra workspace and am trying to run some workflows on bam files from another google bucket outside this workspace that was shared by an external collaborator. I have access to those files but kept running into this error when running the analysis:
StorageException: pet-106514120458910700171@fhuanglab.iam.gserviceaccount.com does not have storage.objects.get access to the Google Cloud Storage object.
I saw a previous thread on a similar issue but in that case, based on my understanding the two buckets were both owned by the same person (belongs to the same project). Whereas my situation is that my terra-related bucket and the bams buckets belong to two separate projects. Since those bam files are very large and we would like to save on the storage budget, we would hope that we can run workflows by accessing those bam files from this external bucket. Could you please advise on how to achieve that or solve this problem?
Thank you very much for your help!
Comments
1 comment
Hi Hanbing Song,
Thanks for reaching out. Just to clarify a point you brought up, an external bucket and a Terra workspace bucket can be owned by the same user, but they cannot belong to the same billing project because it is not possible for external buckets to be tied to Terra billing projects.
To access files in an external bucket, an owner or admin of the bucket will need to add your PROXY_Group (found in your Terra profile) to the bucket and give it the appropriate permissions.
For more information, please see the following support article: Accessing data from an external bucket.
Best,
Samantha
Please sign in to leave a comment.