Closed quai20 closed 3 years ago
Hi. The provided key does not have access to the storage.objects.list
. It's not related to the action. Please recheck your key permissions.
Thanks for the reply @exelban . In my console.developers.google.com, the roles for the service account I use as credentials here are "Owner" and "Storage Admin" (this ones allows the storage.objects.list access).
I have noticed only now. You are using google-github-actions/setup-gcloud
which has no relation to this action. But you still have the wrong credentials or permissions)
Oh yes my bad this was the wrong code. I did tested with your action too. The error being the same. Thanks anyway !
I suppose you providing the wrong key, or using the wrong env or args.
Actually it's working today, I believe there is some kind of latency somewhere in the process of creating the service account and changing permissions.
Hello there, I managed to set up the gcloud access via this step :
I guess this works, because it outputs this :
However this next step does not :
I get the error :
AccessDeniedException: 403 *** does not have storage.objects.list access to the Google Cloud Storage bucket.
I'm not sure that's it's related to gcloud action, maybe it's more on the service account I use (that does have the proper permission, but the bucket I tried to access is not mine, it's generated by google play console to share some stats reports). If you have any recommendations on my gcloud setup here, I'm all ears. If it's not related, feel free to close this.
Cheers,