What problem does it solve?
GCP infrastructure deployments frequently fail late in CI pipelines due to uncaught issues like invalid IaC templates, stale failed deployments, globally unique naming conflicts, or exhausted resource quotas, wasting engineering time and delaying release cycles.
Core Features & Use Cases
- Multi-IaC Validation: Validates Terraform, gcloud Deployment Manager, and Config Connector GCP infrastructure templates locally before deploy.
- Stale Resource Cleanup: Cleans up failed deployments and stuck resources left by prior incomplete deploys to unblock new deployment attempts.
- Pre-Deploy Safety Checks: Catches globally unique naming conflicts for GCS buckets, project IDs, and Artifact Registry repos, verifies quota and capacity limits, and checks for in-flight CI deploys to avoid race conditions.
- Use Case: An engineer preparing a Terraform-based GCP infrastructure update can run this preflight check to catch a planned Cloud SQL instance replacement and a missing enabled API before pushing, avoiding a failed CI deploy and hours of troubleshooting.
Quick Start
Invoke the gcp-deployment-preflight skill to run a complete preflight validation of your GCP infrastructure deployment, clean up any stale failed resources, check for naming conflicts and quota limits, and confirm it is safe to deploy.