Skip to content

Terraform specification with Lambda to run custom sql queries when rds starts up

Notifications You must be signed in to change notification settings

irazzhivin/setup-rds-behind-vpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup-rds-behind-vpc

Terraform specification with Lambda to run custom sql queries when rds starts up (Backups, create database users, create databases and etc.)

Labmda works on nodejs.

You can configure sql commands by changing code in ./lambda/rds-setup/index.js

For example in this repo, lambda use variables from Amazon Secrets Manager to create new users and databases in one RDS instance (when rds starts up) which only available from private VPC

About

Terraform specification with Lambda to run custom sql queries when rds starts up

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published