gcloud Questions

3

When I run gcloud services enable service:container.googleapis.com, I get the following error: ERROR: (gcloud.services.enable) PERMISSION_DENIED: Not found or permission denied for service(s): serv...
Assertion asked 8/1, 2021 at 8:22

4

Solved

All of a sudden I started getting "Permission Denied" issues when trying to run any gcloud commands such as gcloud components update -- the issue was avoided if I ran sudo gcloud components update ...
Gand asked 10/3, 2018 at 15:34

7

Solved

I have created a service account in order to deploy a project to google app engine. The service account I have created has these two roles: App Engine -> App Engine Deployer Storage -> Storage ...
Buxton asked 11/5, 2017 at 2:54

8

I understand gcloud uses the Dockerfile specified in the root directory of the source (.) as in the command: gcloud builds submit --tag gcr.io/[PROJECT_ID]/quickstart-image . but I am trying to sp...
Sanalda asked 10/10, 2019 at 16:14

2

Solved

The gcloud auth print-identity-token command prints an identity token for the specified account. $(gcloud auth print-identity-token \ --audiences=https://example.com \ --impersonate-service-accou...
Banking asked 12/11, 2022 at 8:35

3

Solved

I would like to know the organization ID of my current project in GCP. gcloud projects describe PROJECT_ID will show the parent which can be the organization, but if the parent is a folder, the or...

5

Command gcloud run deploy api --region=$REGION --image=$IMAGE Logs Deploying container to Cloud Run service [api] in project [[MASKED]] region [[MASKED]] Deploying... Creating Revision...........i...
Rozier asked 5/6, 2022 at 16:32

7

Solved

I had this error for almost an hour but found a solution resulting into a big worrying dilemma. The solution let to realization that one cannot run gcloud app deploy while there is a task in the ta...

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

9

I'm currently trying to make some mobile code with Flutter. I'm trying to publish/subscribe data to GCP Cloud Pub/Sub using gcloud library dart. Here is the code for the main.dart: import 'dart:io...
Autotrophic asked 20/10, 2019 at 11:34

1

I am trying default next js app on github to be auto deployed on Google Cloud Run, but it gets stuck in Building and Deploying step: I have tried using both docker image and default nodejs reposit...
Periscope asked 9/3, 2024 at 23:2

3

Solved

I am trying to create a service account key using the gcloud cli, I searched on google and tried with different service accounts but they all have the same error. I'm not sure what I need to change...
Bunco asked 24/7, 2018 at 21:56

5

Solved

I tried downloading and using the gcloud bash tool to manage my accounts, however everything I do with the tool is exceptionally slow. It will take MINUTES to reply to a command that is typed. Is t...
Schmaltz asked 1/5, 2015 at 13:53

4

Solved

I'd like to migrate to PNPM, however, I can't find a way to use its lockfile on Google Cloud. My current cloudbuild config is the following: steps: - name: "gcr.io/google.com/cloudsdktool/clou...
Supportable asked 1/8, 2020 at 14:44

4

In Google Cloud Platform's Ubuntu 16.04.1 instance, the output of my startup script was written to /var/log/startupscript.log. Since they upgraded to 16.04.02 I can't find the logs anymore. Any...

5

If I go to "IAM & admin" in the google cloud console and select the "IAM" tab on the left I see a list of users (username@mydomain). How do I list these users with gcloud? And how do I see wha...
Impediment asked 29/10, 2017 at 22:57

5

Solved

My most recent builds with GCloud all started failing recently and I am not really sure why. I keep getting 404 errors from the build attempting to find an image that doesn't exist. Sample error: A...
Radke asked 26/9, 2023 at 16:50

24

Solved

How can I change the current running project to another project in GCP (Google Cloud Platform) account using cli commands other than using gcloud init manually? gcloud projects list will list the p...
Complimentary asked 16/10, 2017 at 12:56

2

Solved

The gsutil command has options to optimize upload/download speed for large files. For example GSUtil:parallel_composite_upload_threshold=150M GSUtil:sliced_object_download_max_components=8 see t...
Copalite asked 19/3, 2019 at 20:16

7

Solved

I encounter the following warning: WARNING: You do not appear to have access to project [$PROJECT] or it does not exist. after running the following commands locally: Activate and set a service ...
Genny asked 6/11, 2019 at 15:27

3

I run "gcloud auth login" and then do some stuff, but after some time (~1hr or so) I have to run it again because otherwise I am not authenticated. Is it normal? Can gcloud authentication remember...
Schmaltz asked 11/8, 2014 at 22:17

4

Solved

I have certain folders that I ignore in my .gitignore as I do not want it to be published on Github. However, these files are essential for when deploying to Google Cloud (local packages). If I t...
Counsel asked 25/6, 2019 at 9:43

6

Solved

I am trying to athenticate to the gcloud sdk using : gcloud init. I get a URL I'm supposed to access in order to copy a token and return it to the CLI... but instead of a token, I get this error : ...

20

I am trying to create an internal app to upload files to google cloud. I don't want each individual user or this app to log in so I'm using a service account. I login into the service account and e...
Rapp asked 15/3, 2018 at 15:2

2

First of all, I am using an Nginx ingress controller with the helm for the gke and I am using ModSecurity as a waf. Nevertheless, I was researching for a new kind of waf to display the results of p...

© 2022 - 2025 — McMap. All rights reserved.