google-cloud-platform Questions
11
Solved
I'm writing a cloud function in Nodejs (10), and trying to access a secret like so:
const [secret] = await new SecretManagerServiceClient().accessSecretVersion({
name: `projects/PROJECT_NUMBER/se...
Ratite asked 18/6, 2020 at 7:44
6
I have a node app bundled with webpack which I am trying to deploy to cloud run. In order to be able to load a file more than 32 MB (the set limit) in cloud run I added the header ('Transfer-encodi...
Ziagos asked 13/6, 2022 at 10:43
2
We are currently using Stitchdata to periodically sync data over from a PostgreSQL instance to a BigQuery instance. The data is used for building reports. Stitchdata allows a pipeline to be built w...
Dias asked 24/6, 2021 at 22:32
7
googleapi: Error 403: Permission denied on resource project shared_vpc_host_name., forbidden
I am trying to create shared vpc and service project using Terraform project facotry module and I am run...
Enactment asked 2/8, 2020 at 22:5
4
I am trying to allocate the roles to the user in the Terraform file in a GCP project, but I am getting the below error :
Error: Request "Create IAM Members roles/compute.networkAdmin user:[em...
Corry asked 11/1, 2021 at 3:55
0
We have a dataproc cluster staging bucket wherein all the spark job logs are getting stored.
eu-digi-pipe-dataproc-stage/google-cloud-dataproc-metainfo/d0decf20-21fd-4536-bbc4-5a4f829e49bf/jobs/goo...
Garbage asked 31/5, 2024 at 4:39
3
Solved
I have a Google Cloud Pub/Sub subscription that is using a dead-letter topic. I recently had an outage that was preventing a number of messages from being processed & they ended up in the dead-...
Friedrick asked 7/5, 2020 at 4:46
7
Solved
When I use format like
gcloud compute copy-files user@instance-1:/home/user/file \ /home/user/Desktop \ --zone europe-west1-b
it gives me error
no such file or directory as desktop
Fonzie asked 4/7, 2017 at 9:3
3
Solved
Right now, I'm working on my master's thesis and I need to train a huge Transformer model on GCP. And the fastest way to train deep learning models is to use GPU. So, I was wondering which GPU shou...
Kaminsky asked 22/10, 2021 at 9:35
3
Solved
When writing a Cloud Run service, we develop a container that listens on the PORT environment variable to handle an incoming HTTP request. An instance of the container springs to life and handles t...
Pilferage asked 26/12, 2019 at 16:31
2
Let's say you have two projects, IDs = engine-project-1 and storage-project-1.
engine-project-1 has a basic App Engine app that needs access to image files in a bucket in storage-project-1. By de...
Trafalgar asked 27/2, 2019 at 18:13
4
Solved
I've used this command to deploy a function from local source:
gcloud beta functions deploy helloWorld --trigger-http
Now, i have updated it's code. How do i deploy my changes?
When i'm using t...
Stefaniastefanie asked 18/12, 2017 at 17:24
3
I have a similar issues like How to upload a bytes image on Google Cloud Storage from a Python script.
I tried this
from google.cloud import storage
import cv2
from tempfile import TemporaryFile...
Malicious asked 4/4, 2018 at 12:43
5
I am trying to create a GithubAction job, which should authenticate in GCP via Identity federation and upload some files to a bucket.
Here is the full source code of GitHub action.
In this job I ha...
Vacla asked 26/2, 2023 at 16:9
6
Solved
Is there a way to programmatically access the email of the currently used Service Account on a GCP instance when no GOOGLE_APPLICATION_CREDENTIALS is set? (ie. when using the default Service Accoun...
Scull asked 21/1, 2021 at 5:1
11
Solved
In the example bellow, is there a way to get the user id (uid) of the user who wrote to 'offers/{offerId}'? I tried to do as described here but it doesn't work in Firestore.
exports.onNewOffer = f...
Skulk asked 24/10, 2017 at 13:44
7
I am trying to push docker container to Artifact Registry on GCP but I got an error on step Push Docker Image to Artifact Registry
denied: Permission "artifactregistry.repositories.uploadArti...
Kaltman asked 25/3, 2023 at 7:12
11
Solved
I am trying to setup an Ingress in GCE Kubernetes. But when I visit the IP address and path combination defined in the Ingress, I keep getting the following 502 error:
Here is what I get when ...
Toodleoo asked 23/3, 2017 at 5:15
5
I have a problem downloading entire folder in GCP. How should I download the whole bucket? I run this code in GCP Shell Environment:
gsutil -m cp -R gs://my-uniquename-bucket ./C:\Users\Myname\Desk...
Lindie asked 27/10, 2019 at 17:50
6
Solved
I tried to automate the Shared VPC creation on GCP by using Terraform. I have enabled all the access to my service account (Org Admin, XpnAdmin, Storage Admin, Compute admin, Billing Admin)
But wh...
Acidimetry asked 6/4, 2020 at 5:49
5
Solved
Some files get uploaded on a daily basis to an FTP server and I need those files under Google Cloud Storage. I don't want to bug the users that upload the files to install any additional software a...
Peele asked 19/4, 2017 at 4:36
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
8
Solved
I am trying to create firestore database but got the message "This project is set up to use Cloud Firestore in Datastore mode. This mode can only be accessed from Google Cloud Platform".
...
Pythagoras asked 21/7, 2020 at 5:18
7
Solved
I tried to install gcloud in MacOs but failed. I tried two python versions 3.7.4 and 3.9.1 but both have the same issue. how can I install the gcloud? Is there any other dependencies I need?
$ pyth...
Fleece asked 15/6, 2021 at 0:57
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...
Facer asked 15/1, 2020 at 10:51
© 2022 - 2025 — McMap. All rights reserved.