MarkEdmondson1234 / googleCloudRunner

Easy R scripts on Google Cloud Platform via Cloud Run, Cloud Build and Cloud Scheduler
https://code.markedmondson.me/googleCloudRunner/
Other
81 stars 26 forks source link

cr_setup_test() #118

Closed featherduino closed 2 years ago

featherduino commented 3 years ago

Hi Mark, thanks for creating such an awesome package, it really strengthens the R community up top.

While setting this up and testing i am facing an error : 403 The API does not have sufficient permissions

image

featherduino commented 3 years ago

Pretty sure my roles and permissions are right image

MarkEdmondson1234 commented 3 years ago

Thank you!

The error suggests the cloud storage bucket role is not active. The lookup functions show what roles you need but not what you have active.

If you run cr_setup() again to check, see what the bucket settings return in particular.

featherduino commented 3 years ago

hey i think i got it can pass 3 tests, it was a service account setup issue

Getting this issue with the cloudrun setup

image

MarkEdmondson1234 commented 3 years ago

Did you run all the setup functions? It looks like some GCP settings are not live yet. If you share the full logs of the Cloud Run we could narrow down which ones.

featherduino commented 3 years ago

hey yeah sure so this is the exact spot image

MarkEdmondson1234 commented 2 years ago

I think this was related to this issue https://github.com/MarkEdmondson1234/googleCloudRunner/issues/141 so it should be fixed if you try the latest version from GitHub?