I created a GCP service account and assigned the needed permissions for listing the projects inside the organization. When I’m using the gcloud cli, everything works: But when I try the “same” with the Python Client for Google Cloud Resource Manager, I receive a 403 The caller does not have permission error message. Does the Python Client for Google Cloud
Tag: gcloud
How to switch an IP from an instance to another with gcloud
Is there a way to “detach” a reserved internal or external IP address from a VM to assign it to another instance with the gcloud command? I want to do this as I’m scripting with Python and want to automate this process. Answer Following commands might help you – [1]. To reserve external ip addresses. [2]. To unset the external
ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build c90ad64e-2c2f-4ad0-a250-160de6f315df status: FAILURE
I am trying to deploy my Django application to gcloud and I keep getting this error, any ideas what this means? File upload done. Updating service [default]…failed. ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build c90ad64e-2c2f-4ad0-a250-160de6f315df status: FAILURE Error ID: c84b3231 Error type: UNKNOWN Answer never mind, I found out the error was due to a build error, I had an
AttributeError: module ‘importlib’ has no attribute ‘util’
I’ve just upgraded from Fedora 32 to Fedora 33 (which comes with Python 3.9). Since then gcloud command stopped working: Answer Update from GCP support GCP support mentioned that the new version 318.0.0 released on 2020.11.10 should support python 3.9 I updated my gcloud sdk to 318.0.0 and now looks like python 3.9.0 is supported. To fix this issue run