rnrbrste
rnrbrste

Reputation: 11

Migrating projects is not an option in Google Cloud Platform

We have created an organization within GCP and we have a lot of old projects in Firebase we would like to migrate into our organization. In GCP, we see this long list of projects which is not currently under our organization. By selecting most of the projects, we got the option to migrate these into our organization. But we have a list of residual projects now which does not enable the Migrate button if we select them.

I've set my self as owner in Firebase Console for the projects and I have Organization, Project and Firebase admin rights in GCP.

If I use the cloud shell, I get this response:

ERROR: (gcloud.alpha.projects.move) User [my email] does not have permission to access project [project to move] (or it may not exist): The caller does not have permission

Would be thankful if anybody can point us in the right direction here. What are the requirements for beeing able to move or migrate projects from Firebase into organizations in GCP? Documentation doesn't say much regarding this.

Upvotes: 1

Views: 553

Answers (1)

kehitys
kehitys

Reputation: 43

I was in a migration process, having the same problem, and got it working

I was using the command: gcloud beta projects move PROJECT_ID --folder FOLDER_ID and now the project was in that folder but still with no organization. Therefore I could not migrate the project.

Then I run: gcloud beta projects move PROJECT_ID --organization ORGANIZATION_ID. Now the project was moved under the correct organization, and from there I moved it the correct folder.

Hope this can help someone facing this issue.

Upvotes: 0

Related Questions