gkrizek / bash-lambda-layer

Run Bash scripts in AWS Lambda via Layers
MIT License
425 stars 91 forks source link

include mysqldump #59

Open PavelSusloparov opened 4 years ago

PavelSusloparov commented 4 years ago

Could you add "mysqldump" command?

My use case is to run a CloudWatch, which triggers lambda. Lambda triggers mysqldump for production database instance and save the dump in S3. Another CloudWatch triggers a second lambda, which takes the dump from S3 and uploads it to QA environment. The reason for doing the DB dump this way is that Production and QA databases are located in different VPCs.

sjsiegel001 commented 4 years ago

I second this