Skip to content

Commit

Permalink
Merge pull request #2 from silinternational/develop
Browse files Browse the repository at this point in the history
add ses:sendEmail permission
  • Loading branch information
briskt authored Jun 21, 2024
2 parents 282aeff + b101002 commit 07502ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,10 @@ resource "aws_iam_user_policy" "smtp" {
{
Effect = "Allow",
Action = [
"ses:sendEmail",
"ses:sendRawEmail",
]
Resource = "*",
Resource = aws_ses_domain_identity.this.arn,
Condition = {
StringEquals = {
"ses:FromAddress" = var.email_from_address
Expand Down

0 comments on commit 07502ff

Please sign in to comment.