1 Answer
- Newest
- Most votes
- Most comments
0
As you say, you can use a Lambda to connect to the DB and execute SQL. If it's a VPC Lambda then you don't need your DB to be public or expose a port over the Internet.
You can integrate the Lambda tightly with CloudFormation as a Custom Resource or Resource Type.
For Custom Resources implemented in Python Lambdas, crhelper makes it really easy.
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
Hi,
Thanks for your response.
I'm looking options other then lambda as we do have very large functions, tables etc. which will be very difficult to manage in the code file.
AWS document suggest we do have such API on earlier Serverless 1 Instance Type but this only support older version of PostgreSQL.