gcp-cloud-sql

Generate Terraform configurations for managed PostgreSQL, MySQL, and SQL Server instances on Google Cloud Platform.

1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/sitharaj88/claude-skills --skill gcp-cloud-sql
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gcp-cloud-sql
Source: https://github.com/sitharaj88/claude-skills/tree/main/skills/gcp-cloud-sql
Command: npx skills add https://github.com/sitharaj88/claude-skills --skill gcp-cloud-sql

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the setup of managed relational databases on Google Cloud Platform, ensuring high availability, secure connections, and robust backup strategies.

Core Features & Use Cases

  • Instance Configuration: Generates Terraform code for PostgreSQL, MySQL, or SQL Server instances with specified HA, backup, and network settings.
  • Database & User Setup: Creates databases and manages both password-based and IAM-based users.
  • Read Replicas & DR: Configures read replicas for scaling and cross-region replicas for disaster recovery.
  • Connection Management: Provides examples for Cloud SQL Auth Proxy and direct private IP connections.
  • Use Case: When you need to set up a new PostgreSQL database for a web application on GCP, this skill will generate the necessary Terraform configuration, including HA, backups, and IAM authentication.

Quick Start

Use the gcp-cloud-sql skill to generate a production-ready PostgreSQL instance configuration for a web application backend.

Frequently Asked Questions about gcp-cloud-sql

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

FAQPage Schema
How do I generate Terraform code for a production-ready Cloud SQL instance on GCP?

Generate production-ready Cloud SQL Terraform configurations by specifying database engines like PostgreSQL, MySQL, or SQL Server alongside high availability, automated backups, and private IP connectivity settings.

Can I configure read replicas and cross-region disaster recovery for Cloud SQL using Terraform?

Yes, Cloud SQL read replicas and cross-region replicas for disaster recovery can be configured using Terraform to achieve scalable database reads and robust geographical redundancy.

Does this Cloud SQL Terraform configuration support IAM authentication and private IP connections?

Yes, the Cloud SQL Terraform configuration supports IAM-based user authentication and private IP connectivity, providing secure network access without exposing databases publicly.

What is the best way to automate managed relational database setup on Google Cloud Platform?

Automate managed relational database setup on Google Cloud Platform by generating Terraform code that provisions instances, creates databases, manages users, and configures automated backups.

How do I manage both password-based and IAM-based database users in Cloud SQL?

Manage password-based and IAM-based Cloud SQL users by generating Terraform configurations that provision access controls, ensuring secure authentication strategies for relational databases.

Can I use this Terraform configuration for deploying SQL Server on Google Cloud Platform?

Yes, the Terraform configuration supports deploying SQL Server on Google Cloud Platform, alongside PostgreSQL and MySQL, with options for high availability and automated backups.