Google App Engine: Can't create second app on same developer machine ("The project already contains an App Engine application")

Viewed 5463

Somewhere on my SSD is an ongoing, actively managed Google App Engine project. I develop it on this machine and I am always able to deploy it successfully with gcloud app deploy.

Now i wanted to create another Google App Engine project.

Steps to reproduce:

  1. I created the directory on my developer machine (Mac)

cd mynewproject

  1. I created the project in google app engine console

mynewproject

  1. Then i wanted to create the new app as follows:

gcloud app create

Result:

But this gives the following error:

$ gcloud app create ERROR: (gcloud.app.create) The project [oldproject] already contains an App Engine application in region [europe-west]. You can deploy your application using gcloud app deploy.

I am pretty sure that i moved to another directory far outside of the directory for "oldproject".

Also the new project is listed in the Google App Engine console with all other projects.

How can i work on this project on the same machine without to need removing my other GAE-project?

3 Answers

In my case I think the GCP project was just too old (at least a few years old), and I had to delete it and create new project in order to make it work... I did use command "gcloud app describe" and tried to create a new project in the GCP web console as well, both did not work...

Related