Open wlandau opened 2 years ago
Thanks! These startup bumps are my priority for smoothing out. It sounds like I forgot to put the new googlePubsubR integration scopes in the setup script.
Thanks so much Mark! You have already done a lot to make this process easier for new users, and the video and cr_setup()
are super helpful.
Would it also be possible to mention GCS_AUTH_FILE
somewhere? I believe the setup docs refer to GCE_AUTH_FILE
instead.
The GCS_AUTH_FILE
is only googleCloudStorageR
specific, when using Cloud Storage with googleCloudRunner
it uses the GCE_AUTH_FILE
as that contains auth for all the related services (Cloud Run, Storage, Cloud Build etc)
So these environment variables are different for security reasons (bare minimum permissions)?
That was the thinking, although wasn't followed for googleCloudRunner
that reused googleComputeEngineR
's GCE_AUTH_FILE
, potentially a CR_AUTH_FILE
would be more consistent but with the recent Google auth changes in general I would like to use the more agnostic application defaults, supported by gargle
, that reuse what gcloud
and other SDKs look at.
I am setting up a second GCP account (another 90-day free trial) and I ran into some setup snags.
cr_setup_test()
until I figured out that my project ID,example-project-123456
(censored), was different from the project name,example-project
. Related: https://youtu.be/RrYrMsoIXsw?t=1181.cr_setup_test()
. Not sure which roles to add.