Migrating Dataform Repository to Another GCP Project

Hi everyone,

I'm reaching out to see if anyone has experience migrating a Dataform repository (hosted in GitLab) to a different GCP project.

Our scenario is as follows:

  • We have a Dataform repository currently residing in project-a, which is primarily a staging or development environment.
  • Unfortunately, project-a is now facing quota restrictions.
  • To address this, our administrator has requested data teams to move their Dataform repositories to the production project, project-P.

Ideally, we'd like to migrate the entire repository, including configurations and code, to project-P while maintaining functionality.

Is there a way to achieve this migration within GCP?

Any insights or best practices you can share on this process would be greatly appreciated.

Thanks in advance!

3 1 174
1 REPLY 1

If everything is pushed to git external to the two projects, you should be able to just connect the repository to the new project. The branches will be pulled in if you name a workspace identically