Merged
Conversation
Introduces a manually-triggered GitHub Actions workflow that spins up a K8s Job in credreg-prod to pg_dump a specified table, uploads the result to a dedicated private S3 bucket, and notifies Slack with a 1-hour presigned download URL. - New terraform module: db_dumps_s3 (private bucket, AES-256, 7-day expiry) - IRSA application policy extended with PutObject on cer-db-dumps-prod - github-oidc-widget gets s3:GetObject for presigned URL generation - K8s Job template: postgres:16-alpine, uses existing app-secrets for DB creds - GH Actions workflow: validates table name, creates job, waits, presigns, notifies Slack
…and POSTGRESQL_USERNAME
…use input, bump deadline to 4h
excelsior
approved these changes
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
main-app-configconfigmap in the K8s Job soPOSTGRESQL_DATABASEandPOSTGRESQL_USERNAMEare availablepg_dumptopsql COPY— streams directly to S3 (no/tmpdisk usage), supports arbitrary WHERE conditions, outputs gzipped CSVwhere_clauseinput to the workflow for row filtering (e.g.created_at > '2026-01-01')activeDeadlineSecondsto 4h to handle large tablespostgres:17-alpineto match the RDS server version