Questions tagged [gcloud]

gcloud is the main command line tool of Google Cloud SDK, which allows you to manage resources on Google Cloud Platform and perform various developer workflow tasks.

gcloud is the main command line tool of Google Cloud SDK, which allows you to manage resources on Google Cloud Platform and perform various developer workflow tasks. Cloud SDK also contains tools and libraries to create and manage App Engine, Compute Engine, Cloud Storage, Cloud SQL, and BigQuery resources.

Useful links

Google Cloud SDK - Home page Google Cloud SDK - Discussions Forum gcloud - Tool Guide gcloud - Support channel at freenode IRC network

4396 questions
1
vote
1 answer

Can't enable or delete my service accounts on Google Cloud

I recently deleted my Google Cloud project then I restored it, now after restoration, I can't delete or enable any of my old service accounts, though I can create new ones only also I can edit these new ones, don't know why but how can I overcome…
1
vote
1 answer

Logs are not getting exported at log sink as per the inclusion filter of timestamp

I wanted to export the logs of my AppEngine service to the cloud storage bucket. Hence, I created the log sink & I gave the destination of my cloud storage bucket.The problem is that logs are not getting exported as per my inclusion filter…
1
vote
2 answers

How to deploy fastapi to google cloud run

I have a fastapi app that I want to deploy to google cloud run. With a gRPC python project, We deploy it as gcloud beta run deploy countries --source . But this doesn't deploy as expected. I watched a video that deploying from source uses Google…
Douglas Bett
  • 117
  • 1
  • 6
1
vote
1 answer

gcloud recaptcha enterprise - creating an assessment

I am working through the ReCaptcha Enterprise tutorial and have gotten stuck with a 400 Request contains an invalid argument error. I am using Django. I am following the instructions here…
Phil Brockman
  • 310
  • 3
  • 17
1
vote
2 answers

Move GKE cluster from one project to another

Just thinking., Is there a possibility to move one of the GKE standard cluster from one GCP project to another project.? If someone has explored a way to do this please do share.
1
vote
2 answers

Error: "google.api_core.exceptions.PermissionDenied: 403 Request had insufficient authentication scopes" when using Python to access gcloud secrets

I am trying to run a Python script to access Secrets Manager in GCP, but I keep running into the error above: "403 Request had insufficient authentication scopes". I have been following these instructions in the GCP docs. I can successfully access a…
1
vote
2 answers

Gcloud command, can't specify "cloud-platform" scope when creating instance templates

So I have a command like this that should create the instance template and give it the "cloud-platform" scope (which should give full access according to docs): gcloud compute instance-templates create "webserver-template"\ …
kbosak
  • 2,132
  • 1
  • 13
  • 16
1
vote
0 answers

Firebase functions with one class for multiple endpoints in c#

I am able to successfully deploy following firebase cloud function without issue. What i am trying to accomplish is to deploy multiple functions from within Authentication class. using System.Threading.Tasks; using…
Maxqueue
  • 2,194
  • 2
  • 23
  • 55
1
vote
0 answers

Cannot run Google Standard App Engine through Maven

I have to make a web application running on google App Engine and using maven to manage it (run local server, deploy the live version etc.). I followed the guide here and after making the project using mvn archetype:generate…
RacmanT
  • 33
  • 1
  • 1
  • 6
1
vote
1 answer

gcloud configuration project filter

When listing projects, we can filter on name using: gcloud projects list --filter='name:xxxx*' How to store this filter in gcloud configuration so everytime we run gcloud projects list we get filtered projects ? Note: I don't want a command alias, I…
r2d2leboss
  • 11
  • 1
1
vote
1 answer

In a containerized application that runs in AWS/Azure but needs to access GCLOUD commands, what is the best way to setup gcloud authentication?

I am very new to GCP and I would greatly appreciate some help here ... I have a docker containerized application that runs in AWS/Azure but needs to access gcloud SDK as well as through "Google cloud client libraries". what is the best way to setup…
1
vote
0 answers

Make app engine access firebase 'ALLOW_INTERNAL_ONLY' functions

I'm trying to make http requests from an app engine instance to a firebase function allowed for internal requests only. // index.js (firebase functions) const egressOpts = { vpcConnector: 'the-vpc-connector', vpcConnectorEgressSettings:…
1
vote
1 answer

Adding Timeout field causes GCloud Build to Fail, what is the correct method to increase timeout

My gcloud build will timeout if left at the default timeout of 10 minutes, so I have tried to increase the timeout to 20 minutes. This is my cloudbuild.yaml. # cloudbuild.yaml steps: - name: node:14.17.1 entrypoint: npm args:…
1
vote
1 answer

Create gcloud compute config-ssh with internal-IPs?

gcloud compute config-ssh works fine for listing all my VMs into the ssh config file, but I am not able to use this config file when the access from the external IP has been blocked due to firewall or other security reasons. Is there any way to…
1
vote
0 answers

Asp.net core 5 with Google cloud App engine flex

I am trying to publish the asp.net core 5 application using visual studio Google cloud plugin to the google cloud, and facing an issue with the SDK net5.0 app.yaml runtime: aspnetcore env:…
San Jaisy
  • 15,327
  • 34
  • 171
  • 290