Skip to content

Commit

Permalink
chore: update the certificate file to connect to RDS (#374)
Browse files Browse the repository at this point in the history
* chore: update the certificate file to connect to RDS

* fix: missing slash

* fix: sslcert and sslmode based on prisma docs

* fix: ensure api lambda functions have rds.pem file

* fix: ensure rds connection string points to the correct ssl cert

* fix: unintended change
  • Loading branch information
as1729 authored Aug 16, 2024
1 parent 077321a commit 48c8542
Show file tree
Hide file tree
Showing 6 changed files with 3,040 additions and 725 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/.github/ @usdigitalresponse/grants-admins

# Require admin approval when Postgres root CA bundle is modified
/api/db/rds-combined-ca-bundle.pem @usdigitalresponse/grants-admins
/api/db/rds-global-bundle.pem @usdigitalresponse/grants-admins

# Require admin approval when GPG keys are modified
aws-public-key.gpg @usdigitalresponse/grants-admins
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,11 @@ jobs:
CI: 1
- name: Zip the built functions
run: yarn zip-it-and-ship-it $BUILD_OUTPUT_PATH/functions $ARTIFACTS_PATH
- name: Add RDS CA bundle to zipped Lambda artifacts
run: |
for $zipfile in $ARTIFACTS_PATH/*.zip; do
zip -ju $zipfile api/db/rds-global-bundle.pem
done;
- name: Compute build artifact checksums
id: checksums
run: |
Expand Down
Loading

0 comments on commit 48c8542

Please sign in to comment.