project_id | string | Yes | — | GCP project ID (immutable) |
credentials | dict or string | Yes | — | GCP service account credentials JSON |
region | string | Yes | — | GCP region, e.g., europe-west4 (immutable) |
instance_name | string | Yes | — | Instance name, 1–98 chars, starts with letter (immutable) |
database_version | string | No | "POSTGRES_15" | Database version (immutable). Supported: POSTGRES_*, MYSQL_*, SQLSERVER_* |
tier | string | No | "db-f1-micro" | Machine tier (e.g., db-custom-1-3840) |
availability_type | "ZONAL" | "REGIONAL" | No | "ZONAL" | Single zone or high availability |
backup_enabled | boolean | No | true | Enable automatic backups |
deletion_protection | boolean | No | false | Prevent accidental deletion |
authorized_networks | list[string] | No | [] | CIDR ranges allowed to connect |
enable_public_ip | boolean | No | true | Assign a public IP address |