--- id: d89f9e1c-4d21-4146-8697-bb5d879b56c2 type: solution title: "CloudSQL silver layer output for object-handler" tags: [esb-monorepo, object-handler, cloudsql, commit] importance: 0.6 confidence: 0.8 created: "2025-12-10T19:57:04.545069+00:00" updated: "2025-12-10T19:57:04.545069+00:00" --- Commit 8f957e2: Added CloudSQL integration to object-handler for silver layer output. Uses Cloud SQL Python Connector + pg8000, supports IAM and password auth, strips raw_data before sending (bronze layer gets full data). Calls Postgres upsert functions via fn_upsert_{object_type} pattern with JSONB parameter. 13 unit tests added. Env vars: DOWNSTREAM_CLOUDSQL_ENABLED, CLOUDSQL_INSTANCE, CLOUDSQL_DATABASE, CLOUDSQL_USER, CLOUDSQL_IAM_AUTH, CLOUDSQL_PASSWORD.