{"id":20697580,"url":"https://github.com/epomatti/gcp-bigquery","last_synced_at":"2026-06-01T05:31:39.132Z","repository":{"id":108712794,"uuid":"598901209","full_name":"epomatti/gcp-bigquery","owner":"epomatti","description":"Data sync via CDC from GCP Cloud SQL to Big Query using Datastream","archived":false,"fork":false,"pushed_at":"2025-11-11T20:50:23.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-25T17:10:09.037Z","etag":null,"topics":["bigquery","cloud-sql","datastream","gcp"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epomatti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-08T02:59:10.000Z","updated_at":"2025-11-11T20:50:28.000Z","dependencies_parsed_at":"2023-04-25T00:04:06.627Z","dependency_job_id":null,"html_url":"https://github.com/epomatti/gcp-bigquery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/epomatti/gcp-bigquery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fgcp-bigquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fgcp-bigquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fgcp-bigquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fgcp-bigquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epomatti","download_url":"https://codeload.github.com/epomatti/gcp-bigquery/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fgcp-bigquery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33762215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bigquery","cloud-sql","datastream","gcp"],"created_at":"2024-11-17T00:19:03.941Z","updated_at":"2026-06-01T05:31:39.108Z","avatar_url":"https://github.com/epomatti.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gcp-bigquery\n\nData sync via CDC from GCP Cloud SQL to Big Query using Datastream.\n\n\u003cimg src=\".docs/gcp.png\" width=400/\u003e\n\nMake sure to login with gcloud:\n\n```sh\ngcloud auth application-default login\n```\n\nFirst `cd` into the infra directory.\n\nCreate the `.auto.tfvars` parameters file and set the required values:\n\n```sh\ncp config/local.auto.tfvars .auto.tfvars\n```\n\nCreate the database:\n\n```sh\nterraform init\nterraform apply\n```\n\nConnect to the database and execute execute the SQL commands in the `database.sql` file.\n\nThis database already has automated backups and point-in-time recovery enabled.\n\nNow in the GCP console [create a stream in Datastream](https://console.cloud.google.com/datastream/streams) that sends the changes in the database to BigQuery.\n\nData should be available in the BigQuery dashboard for queries.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepomatti%2Fgcp-bigquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepomatti%2Fgcp-bigquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepomatti%2Fgcp-bigquery/lists"}