CDCgov / phdi

https://cdcgov.github.io/dibbs-site/
Creative Commons Zero v1.0 Universal
32 stars 14 forks source link

Stand up Postgres DB in phdi-playground for TEFCA Connector #2226

Closed DanPaseltiner closed 1 month ago

DanPaseltiner commented 1 month ago

We need a Postgres server for likely several databases in the future, but immediately we need a database to persist custom query templates created by our users. Therefore we need to stand up a Postgres DB in the AWS environment owned by Skylight that the phdi-playground repository currently deploys to.

Acceptance Criteria

marycrawford commented 1 month ago

@DanPaseltiner - I updated the instance from db.t2.micro to db.t3.micro since db.t2 is being phased out and Amazon is no longer going to support it past December 31, 2024. See Amazon doc and screenshot. Screenshot 2024-07-24 at 10.57.22 PM.png

marycrawford commented 1 month ago

Secrets Manager is not part of this ticket. A future ticket will be created to update the architecture. Right now, we are using the random_string resource and will triple check to see what special character limits for Postgres and apply it to the code.