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

Create a aws:ses:check command #89

Open
Aerendir opened this issue Sep 24, 2018 · 0 comments
Open

Create a aws:ses:check command #89

Aerendir opened this issue Sep 24, 2018 · 0 comments

Comments

@Aerendir
Copy link
Owner

Aerendir commented Sep 24, 2018

Is your feature request related to a problem? Please describe.
The command should check that all the minimum requirements are met.

Describe the solution you'd like
For example, it should check for the following things:

  1. The Identities are created;
  2. The identities are allowed to send emails (ensure they are verified: if they aren't, it is not possible to send emails - find a reference in the SES documentation about this);
  3. The identities are subscribed to a topic for notifications (if configured in config/packages/shq_aws_ses_monitor.yaml to notify - don't check the development identity);
  4. The topics exist and they are for the correct environment (See Force the use of dev and prod in the name of topics #71);
  5. The endpoint for notifications can be reached from the Internet;
  6. Check the app can connect to AWS (credentials and other configs are correct);
  7. On prod, check the emails are sent through SES (check SwiftMailer configuration);
  8. The command should not be run on dev (is this really useful to implement or not?);
  9. Try to send a custom test email to ensure all works well (this should be configurable to not send an email on each deployment);
  10. SwiftMailer: which checks on SwiftMailer?

Additional context
The command is intended to be used during continuous delivery to check the application is correctly working.

This command is a bit different than the aws:ses:debug command as this one is intended to have a general picture of the configuration, highlighting some other information like, for example, if the notifications include the headers, or other info like those.

This aws:ses:check command, instead, has to check that all the minimum requirements needed to send emails are met.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant