Jack Fraser
05/09/2021, 11:31 AMFrank
sst.Table
construct. That’s for DynamoDB. SST doesn’t have a construct for RDS. The code snippet I wrote in the thread you shared uses the native CDK constructs to create the VPC and RDS cluster. You need do something similar.Frank
1. To be able to create clusters/databases per GIT branch/PRI would use the branch name and PR name as the SST stage name. ie.
sst deploy --stage pr241
2. this to be public with no VPN to the VPCYou can place the cluster in the public subnets in the dev stage and private subnets in the prod stage?
3. is “AWS Secrets Manager” the way to go to handle connections?I haven’t used RDS. AFAIK, the best practice is letting Secrets Manager to auto generate a password on stack creation? I might be wrong on that.