Secret Santa raffle. Sends email to every participant informing them who their gift receiver is.
Lambda function that gets an event of the form
{
"participants": [
{
"name": "a",
"email": "a@a.com"
},
...
]
}
It uses boto3 to send the emails with a verified identity email as sender.
- Configure an email on AWS SES as verified identity and have production access
- Configure a profile on ~/.aws
- Add an .env file containing the following
AWS_REGION = ""
AWS_ACCOUNT = ""
SES_EMAIL_FROM = ""
- Run
cdk deploy
on the infra folder - Trigger the lambda function with the event specified in the Architecture containing the participants through the AWS console