Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

SESを構築する #8

Merged
merged 5 commits into from
Jun 15, 2020
Merged

SESを構築する #8

merged 5 commits into from
Jun 15, 2020

Conversation

kobayashi-m42
Copy link
Member

@kobayashi-m42 kobayashi-m42 commented Jun 7, 2020

issueURL

#3

Doneの定義

  • SESが構築されていること
  • SESを利用してCognitoからメールが送信されること

変更点概要

技術的変更点概要

ユーザ登録時の検証コードを送信するメールをデフォルトからSESに変更した。
SESは、バージニア北部(us-east-1)に作成している。
参考:リージョンと Amazon SES

現在の設定は本番運用を想定したものではなく、開発が進められる最低限の設定を満たす構成としている。

また、CognitoはSESに依存するためディレクトリ名を変更した。
providers/aws/environments/stg/配下の 13-cognito -> 14-cognitoに変更し、13-sesを追加。

SESについて

  • 開発段階であるため、Eメール検証を行い送信元アドレスの検証を行なっている
    (送信元アドレスについては個別にSlackで連絡する)
  • サンドボックス外への移動は行なっていない。開発が進み、必要になった段階で解除の申請を行う
    参考:Amazon SES サンドボックス外への移動
  • サンドボックスには下記の制限があるため、送信先(ユーザ登録時のメールアドレス)は事前にSESに登録し検証しておく必要がある

E メールの送信先は、検証済み E メールアドレスおよびドメイン、または Amazon SES メールボックスシミュレーターに制限されます。

@kobayashi-m42 kobayashi-m42 requested a review from keitakn June 14, 2020 09:56
@kobayashi-m42 kobayashi-m42 marked this pull request as ready for review June 14, 2020 09:56
modules/aws/ses/main.tf Outdated Show resolved Hide resolved
Copy link
Member

@keitakn keitakn left a comment

Choose a reason for hiding this comment

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

@kobayashi-m42 対応ありがとう🐱!

1件だけリソース名でコメントしたけど全体的には問題なさそうだから、Approveしておくね👍

LGTM

Co-authored-by: keita-koga <keita.koga.work@gmail.com>
@kobayashi-m42 kobayashi-m42 merged commit 4ce3781 into master Jun 15, 2020
@kobayashi-m42 kobayashi-m42 deleted the feature/issue3/ses branch June 15, 2020 13:06
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants