Skip to content

AnaVomvylas/secret-santa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Secret Santa

Secret Santa raffle. Sends email to every participant informing them who their gift receiver is.

Architecture

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.

Prerequisites

  1. Configure an email on AWS SES as verified identity and have production access
  2. Configure a profile on ~/.aws
  3. Add an .env file containing the following
AWS_REGION = ""
AWS_ACCOUNT = ""
SES_EMAIL_FROM = "" 

How to run

  1. Run cdk deploy on the infra folder
  2. Trigger the lambda function with the event specified in the Architecture containing the participants through the AWS console

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published