GCP - Switching between projects.

0 votes
How can I switch from one project to another in GCP via command line?
Nov 5 in GCP by anonymous
• 5,500 points
8 views

1 answer to this question.

0 votes

You could use gcloud init command to do this manually.

The other way would be 

gcloud config set project my-project

You may also set the environment variable $CLOUDSDK_CORE_PROJECT.

answered Nov 5 by Sirajul
• 37,480 points

Related Questions In GCP

0 votes
2 answers
0 votes
2 answers

How to install gcp in Python?

If you're accessing BigQuery in python, you ...READ MORE

answered Aug 20, 2018 in GCP by Priyaj
• 56,920 points
229 views
0 votes
1 answer

Changing Machine Instance on GCP

There is no direct method to change ...READ MORE

answered Aug 1, 2018 in GCP by kurt_cobain
• 9,260 points
45 views
0 votes
1 answer

Why should I choose GCP over any other cloud platforms?

There are various Cloud service providers in ...READ MORE

answered Sep 20 in GCP by Sirajul
• 37,480 points
33 views
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23 in GCP by Sirajul
• 37,480 points
35 views
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23 in GCP by Sirajul
• 37,480 points
43 views
0 votes
1 answer

Connect networks from different GCP projects.

You could probably use Shared VPC for ...READ MORE

answered 3 days ago in GCP by Sirajul
• 37,480 points
10 views