Category "google-cloud-platform"

How to get rid of TypeError?

Currently working on implementing Google Cloud storage on Raspberry Pi. Whenever I run my code, I get the error: TypeError: callback() takes 0 positional argume

How to easily switch gcloud / kubectl credentials

At work we use Kubernetes hosted in GCP. I also have a side project hosted in my personal GCP account using Google App Engine (deploy using gcloud app deploy).

Linking a series of GCP disks to corresponding instances dynamically in terraform

I need to dynamically create a variable number of riak instances, each with an attached disk across multiple zones in GCP using terraform. Each attached disk mu

Can I access Google Secrets Manager secrets externally

I am writing an app that I will be hosting in Google Cloud Functions with some config stored in Secrets Manager. I would like to share this information with ano

Accessing users account with service account

We need to use an API to verify if a certain user exists as managed account (it means, that belongs to our Google Domain organization). GSuite adminSDK perfor

Firebase Dynamic links - when clicked not working in iOS

Im using firebase dynamic link to open the mobile application (If already installed) or to redirect user to Playstore or app store. In iOS mobile , I pasted the

Signed URL result with random AuthenticationRequired

I have a CDN in gcloud configured with a storage bucket backend, the bucket is private and I give the ObjectViewer permission to the CDN service account (servic

In GCP, how to list all the resources running under project?

I need to list out all the instance, container, function, notebooks, bucket, dataproc and composer running under project in all the region/locations. Is it poss

Deploy keras model to google app engine - ImportError: libBLT.2.5.so.8.6: cannot open shared object file: No such file or directory

I'm trying to deploy a Flask App to Google Cloud's App Engine, however once the App is deployed and starts booting I receive the following error: ImportError:

Grant your originating account the Service Account Token Creator role on the target service account

I used the below command to Authenticate in MAC OS terminal gcloud auth login It redirects to the google login page and show the authentication process success

How to connect to GCP VM instance with password using SSH?

I able to connect to my VM instance in GCP with a SSH key. I added user with the sudo useradd -m -s /bin/bash -G {groups} {new user name} command, and changed

Google Cloud get cluster credentials unauthorized

I've created a service account in the IAM page of google cloud console but unfortunately I'm unable to assign roles to this account - or I'm missing something.

Is anyone else experiencing issues using Cloud Tools for Visual Studio to deploy GKE workloads?

For the past week we are seeing the error "Could not determine if the selected GCP project is ready for deployment, please close the dialog and try again", imag

Google App Engine Latency skyrockets out of nowhere

Our development team is scratching our heads wondering why Google App Engine latency tends to go through the roof from time to time with very little predictabil

Google Storage Bucket Permission to view object but not to list

I created a storage bucket with publicly accessible files. I want to ensure that viewers can view individual objects if they access them directly, but I do not

GCP equivalent of "deny" permissions in aws policy

Is there a way to deny permissions in GCP custom role? For example, this is a policy in AWS that denies a set of actions on S3: { "Sid": "DenyS3", "Effe

Detect intent with DialogFlow SDK in preview mode so as not to affect any entities

How can I detect an intent while remaining idempotent and not have the possibility to change any contexts or entities? According to DetectIntent() as shown in t

Cloud Functions - Remove default logging from StackDriver?

Stackdriver logs a function call for it's execution duration per each call. Is there a way to in gcloud when during deployment to disable this behavior? My con

How to set $HOME before startup script in Google Compute Engine

In my use case, I am trying to use the $HOME variable to identify my app server path in the instance startup. I am using Google compute engine with a startup

Google Cloud Platform - Pub/Sub push to private (VPN) on-premise listeners?

Official documentation for Pub/Sub service states that Push is available to listeners that are available on public network: An HTTPS server with non-self-si