Blog

Viewing posts tagged Aurora

Aurora Triggers to Call AWS lambda function

Recently I needed to call my lambda function when CRUD happen on my aurora db table. AWS Aurora supports accesing AWS services. 
So If you want integrate such architecture , you can follow following step by step guide to make it work. 

1) Create RDS & Lambda full access Role with principal as "rds.amazonaws.com". ( arn:aws:iam::<account_id>:role/RDS-Lambda-Access )
2) Edit aurora parameter group and assign ARN of 1)
3) Edit aurora Clustor and also from `Managed IAM Roles` assign role created in 1).
4) Rebooted aurora instance.