Hello Google Cloud Community,
I’m deploying to Cloud Run via GitHub Actions using (Preferred) Workload Identity Federation (no service account keys) and encountering a Storage bucket permission error despite seemingly correct IAM roles. Its a dart Application.
Error:
ERROR: (gcloud.run.deploy)
Permission 'storage.buckets.get' denied on bucket [run-sources-kaisa-341a6-europe-west1].
Authenticated as principal from Workload Identity Federation pool.
Key Details:
- Authentication Method: (Preffered) Workload Identity Federation (no static service account keys).
- uses: google-github-actions/auth@v2
with:
workload_identity_provider: 'projects/818180271880/locations/global/workloadIdentityPools/github-new/providers/kaisa-backend'
-
Confirmed IAM Roles (assigned to the GitHub-linked identity):
-
roles/run.admin
-
roles/storage.objectAdmin
-
roles/iam.workloadIdentityUser
-
-
Bucket Exists: run-sources-kaisa-341a6-europe-west1 is accessible via other means.
Screenshots:
-
[Attach IAM role assignments for the Workload Identity Pool]
-
[run-sources-kaisa-341a6-europe-west1 Bucket Exists)
-
Google cloud deploy full error
What could be the problem?


