/* SMTP Cerdentials -----------------------------*/ /** * For more details see: * https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-connect.html **/ resource "aws_iam_user" "smtp" { name = "ses-smtp-user.dap-ps" } resource "aws_iam_access_key" "smtp" { user = aws_iam_user.smtp.name pgp_key = file("files/support@dap.ps.gpg") } resource "aws_iam_policy" "smtp" { name = "AmazonSesSendingAccess" description = "Policy that gives Write access to SES Sending" policy = <