Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipeline running error for 02c, missing permissions for the service account #60

Open
zhhtu opened this issue May 16, 2024 · 1 comment

Comments

@zhhtu
Copy link

zhhtu commented May 16, 2024

I'm running the 02c, pipleine.run, and got the following error:
"message: "Failed to create pipeline job. Error: Service account [email protected] does not have [storage.objects.get, storage.objects.create] IAM permission(s) to the bucket "learn-demo1". Please either copy the files to the Google Cloud Storage bucket owned by your project, or grant the required IAM permission(s) to the service account..""

It seems the service account does not have permission to the bucket, I've tried to change the role of the account from "Editor" to "owner" manually in the IAM section but it did not work.

@jporte111
Copy link

I recieved the same error, it gave me these instructions:

From the console link above, or by going to https:/console.cloud.google.com and navigating to "IAM & Admin > IAM":

Locate the row for the service account listed above: [email protected]
Under the inheritance column click the pencil icon to edit roles
In the fly over menu, under Assign roles select Add Another Role
Click the Select a role box and type Storage Object Admin, then select Storage Object Admin
Click Save
Rerun the list of services below and verify the role has been added.

I tried this and it didn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants