What problem does it solve?
This Skill provides a structured, repeatable process to migrate all critical resources from one GCP project to another, including databases, storage, container images, and Terraform state, reducing the risk of drift and downtime.
Core Features & Use Cases
- Comprehensive Migration: DB (Cloud SQL) export/import, GCS bucket data migration, Cloud Run/container image relocation, and Terraform backend/state updates.
- Environment Reproducibility: Preserves infrastructure configuration across projects to enable staging, testing, and production parity.
- Automation Ready: Scripted steps and a reusable script to perform the migration with minimal manual intervention, suitable for CI/CD pipelines.
Quick Start
Run the migration script to move from OLD_PROJECT to NEW_PROJECT and update region specs:
./-.agent/skills/gcp-migration/scripts/migrate-gcp-project.sh --old-project OLD_PROJECT --new-project NEW_PROJECT --old-region OLD_REGION --new-region NEW_REGION