Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure account confirmation via SES #5

Open
jayhill opened this issue Feb 23, 2025 · 0 comments
Open

Configure account confirmation via SES #5

jayhill opened this issue Feb 23, 2025 · 0 comments

Comments

@jayhill
Copy link
Contributor

jayhill commented Feb 23, 2025

  1. Set up AWS SES.
  2. Verify ownership of your email domain (zipcase.org) by adding DNS TXT records provided by SES to Route 53.
  3. SES confirms your domain is verified.
  4. Link SES to Cognito via Terraform:
resource "aws_cognito_user_pool" "zipcase_user_pool" {
  name = "zipcase-user-pool"
  
  email_configuration {
    email_sending_account = "DEVELOPER"
    source_arn            = aws_ses_email_identity.zipcase.arn
    from_email_address    = "no-reply@zipcase.org"
  }

  verification_message_template {
    default_email_option = "CONFIRM_WITH_CODE"
    email_subject        = "Welcome to ZipCase! Verify your email."
    email_message        = "Your ZipCase verification code is {####}."
  }
}

resource "aws_ses_email_identity" "zipcase" {
  email = "no-reply@zipcase.org"
}
@jayhill jayhill moved this to Todo in ZipCase Feb 23, 2025
@jayhill jayhill added this to ZipCase Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant