gcloud-cli Questions

10

When attempting to run the GCP command line tool gcloud on MacOS with Python 3.12 the following error occurs: Traceback (most recent call last): File "/Users/<username>/google-cloud-sdk...
Byerly asked 18/10, 2023 at 13:21

4

For example: gcloud compute disks create --size=10GB my-data-disk would print 2 things: Warning: WARNING: You have selected a disk size of under [200GB]. This may result in poor I/O performan...

3

Solved

I have around 108 tables in a dataset. I am trying to extract all those tables using the following bash script: # get list of tables tables=$(bq ls "$project:$dataset" | awk '{print $1}' | tail +3...
Bornie asked 15/1, 2019 at 23:20

2

Solved

I would like to know if there is a way to rename an existing 'gcloud topic configurations' e.g. I would like rename 'foo' to 'bar' in the below example. I couldn't find anything on this in the gc...
Sexagenarian asked 13/3, 2019 at 10:25

3

Solved

I need to add the Google Cloud SDK in the PATH. So I need the path to where is installed. Is there any gcloud ... command which gives me this information? If not I have to go through the symlink i...
Mitchell asked 25/11, 2015 at 15:34

6

Solved

I’m looking for a gcloud one-liner to get the default project ID ($GCP_PROJECT_ID). The list command gives me: gcloud config list core/project #=> [core] project = $GCP_PROJECT_ID Your active...
Niigata asked 24/2, 2016 at 10:25

2

Solved

I have created a new configuration profile using command: gcloud init and now I don't know how to switch to old configuration profile without override it. Using gcloud config I can't switch ...
Owner asked 2/3, 2016 at 10:43

5

Is it possible to access a Google Cloud Source Repository in an automated way, i.e. from a GCE instance using a service account? The only authentication method I am seeing in the docs is to use th...

2

Solved

Google API clients typically recognise the GOOGLE_APPLICATION_CREDENTIALS environment variable. If found, it's expected to point to a JSON file with credentials for either a service account or a us...
Glaswegian asked 9/7, 2018 at 10:3

1

Solved

While running sudo apt update the following Warning, followed by an Error raises: W: GPG error: http://packages.cloud.google.com/apt cloud-sdk InRelease: The following signatures couldn't be ...
Leacock asked 30/3, 2018 at 23:1

1

Solved

Documentation on Google Cloud SDK https://cloud.google.com/sdk/docs/ directs one to run gcloud init after installing it. Is there a way to automate this step given that gcloud init is an interacti...
Suited asked 21/2, 2017 at 23:4

2

Solved

Pulling from an existing clone git pull or cloning Google cloud repository with gcloud gcloud source repos clone default my_repo produces the following dialog box: How do I configure git s...
Sharpeared asked 31/3, 2016 at 16:47

1

Solved

When I create a boot disk with gCloud less than 200GB in size, I see this error: WARNING: You have selected a disk size of under [200GB]. This may result in poor I/O performance. For more informat...
Sporophore asked 29/2, 2016 at 18:16

1

In order not to call every time: gcloud auth login which would interrupt a script for user input I would like to see if a user is already authenticated (any user) and only if no user, then to c...
Compliance asked 3/2, 2016 at 9:30

1

Solved

Whenever I run a bq or gsutil command, I get the below output: Loading user based configuration file: [/home/reggie/.config/gcloud/properties]. User based configuration files are deprecated and wi...

3

Solved

As of 04/22/15, update of gcloud to the latest version breaks the deploy command. The version of the app is set to the current timestamp (eg: 20150422t202108). And doing a: gcloud preview app depl...
Pinky asked 23/4, 2015 at 0:26
1

© 2022 - 2025 — McMap. All rights reserved.