GCP Project Migration

Migrate GCP projects across Cloud SQL, GCS buckets, Cloud Run, and Terraform.

17|3|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/jidohyun/NOD --skill gcp-project-migration-jidohyun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: GCP Project Migration
Source: https://github.com/jidohyun/NOD/tree/main/.agents/skills/gcp-migration
Command: npx skills add https://github.com/jidohyun/NOD --skill gcp-project-migration-jidohyun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gcloud, docker, psql, and includes scripts (resource) components.

What problem does it solve?

Migrates an entire GCP project from an old project to a new one, including databases, storage, container images, and Terraform configurations, reducing manual migration effort and downtime.

Core Features & Use Cases

  • Comprehensive, multi-phase migration covering APIs, Cloud SQL, GCS buckets, container images, Terraform variables, and GitHub secrets.
  • Includes automation scripts and references to guide end-to-end execution, with troubleshooting tips and best practices.
  • Ideal for production migrations where infrastructure and code must be moved with minimal downtime and consistent state.

Quick Start

Run the migration script with your old and new project IDs to start the full migration.

Frequently Asked Questions about GCP Project Migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate an entire GCP project to a new project including Cloud SQL and GCS?

To migrate a GCP project, use the migrate-gcp-project.sh script to export and import Cloud SQL databases, GCS buckets, and container images from the old project to the new one. It executes an end-to-end workflow covering APIs, data, and deployments.

What steps are required to copy Terraform configurations and CI/CD secrets when moving a GCP project?

Copying Terraform configurations and CI/CD secrets during a GCP project migration involves updating Terraform variables and GitHub secrets to point to the new project ID. The migration script applies these deployment updates as part of its multi-phase workflow.

Do I need gcloud and Docker installed to migrate Cloud Run container images between GCP projects?

Yes, you need gcloud for authentication and access to both projects, Docker for handling container images, and psql for database operations. The migration script relies on these dependencies to execute the end-to-end Cloud Run and database transfer.

Can I migrate a GCP production project with minimal downtime using an automated script?

Yes, this automated migration script is ideal for production migrations where infrastructure and code must be moved with minimal downtime. It ensures a consistent state by handling APIs, storage, databases, and deployment configurations systematically.

What are the limitations of migrating GCP project resources with a shell script?

The migration requires gcloud authentication and access to both the old and new projects. While it automates APIs, Cloud SQL, GCS, and container images, users should review troubleshooting tips and best practices to handle any project-specific configuration edge cases.

Does the GCP project migration script handle API enablement in the new project?

Yes, the GCP project migration script handles API enablement in the new project. It applies this as part of its comprehensive, multi-phase workflow before proceeding with data export, import, and deployment updates.