Skip to content

Conversation

@sgtoj
Copy link
Collaborator

@sgtoj sgtoj commented Aug 12, 2025

  • add allow list to by email verifications
  • use sendgrid an email provider

- add allow list to by email verifications
- use sendgrid an email provider
@sgtoj sgtoj requested a review from Copilot August 12, 2025 23:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for the latest downstream cognito-message-sender by introducing email provider configuration and SendGrid-specific enhancements. The changes enable multi-provider email support with validation rules and add email verification allowlist functionality.

  • Introduces configurable email providers with validation for exactly one provider selection
  • Splits SendGrid API keys into separate send and verification keys with backward compatibility
  • Adds email domain allowlist for bypassing email validation

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
variables.tf Adds email provider configuration, new SendGrid API key variables, and validation rules
main.tf Updates Lambda environment variables to use new provider configuration and SendGrid keys

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@sgtoj sgtoj merged commit 23efeba into main Aug 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants