Every time I use bq
on a Cloud Compute instance, I get this:
/usr/local/share/google/google-cloud-sdk/platform/bq/third_party/oauth2client/contrib/gce.py:73: UserWarning: You have requested explicit scopes to be used with a GCE service account.
Using this argument will have no effect on the actual scopes for tokens
requested. These scopes are set at VM instance creation time and
can't be overridden in the request.
warnings.warn(_SCOPES_WARNING)
This is a default micro
in f1
with Debian 8. I gave this instance access to all Cloud APIs and its service account is also an owner of a project. I run gcloud init
. But this error persists.
Is there something wrong?
bq ls
ends with a warning.bq help
does not. – Anton Tarasenkobq
of which credentials to use somehow... Are you using application default credentials specified throughgcloud auth
? – Michael Sheldongcloud init
for the default...-compute@...
service account. Besides,bq
does work, but each time it mentions this warning. – Anton Tarasenko