1 Answers
You can use following set of commands
//Create project
gcloud projects create
//set project active
gcloud config set project
//Link the Billing project
gcloud beta billing projects link
Sign Up Free or Log In to participate!
I was able to create a new project from the cloud shell and set that as my active project, but I wasn’t able to enable the GCE API because billing wasn’t enabled. All documentation I’m finding shows me how to do it through the console. Is there a way to enable billing in the cloud shell?
You can use following set of commands
//Create project
gcloud projects create
//set project active
gcloud config set project
//Link the Billing project
gcloud beta billing projects link
Psst…this one if you’ve been moved to ACG!
I get an error saying I have no more billing something?