Posty

Wyświetlanie postów z sierpień, 2020

Cloudformation chalange #1 - conditional resources dependency

Obraz
Backstory This is based on true story of one of my clients. The requirements were simple: Send notification each time: File is uploaded to S3 bucket File is deleted from S3 bucket Event is caught by CloudWatch Rule Notifications must be send to provided SQS Topic and/or Lambda function (on the same or different AWS Account) If no ARN is provided, notifications resources shouldn't be created. Solution must be generic and easy to automate Design SNS is perfect service for this scenario. It is push notification service and it supports multiple targets. Of course it doesn't count without diagram, so I drew one: Cloudformation template: Solution should be generic and reusable, so I decided to prepare CloudFormation template (I'm a big fan of CloudFormation) with all required logic to fulfill the requirements. Version 1 First version was easy, define all required resources and put parameters everywhere in resource names. You can check v1.template...

Popularne posty z tego bloga

Cloudformation chalange #1 - conditional resources dependency

Lambda trigger on file upload to specified prefix