Create an SES Catchall for one-to-many domains and publish them to a S3 bucket, which will notify a SNS topic
module "catchall_live" {
source = "scaffoldly/ses-catchall/aws"
bucket_name_prefix = "emails-live"
read_only_principals = data.aws_iam_role.serverless_emails_api.arn
domains = ["emails.mydomain.com"]
rule_set_name = "primary"
after_rule = "live-bounce-noreply"
}
Name |
Source |
Version |
s3_bucket |
scaffoldly/s3-private-versioned/aws |
0.15.11 |
Name |
Description |
Type |
Default |
Required |
after_rule |
Place the catchall after this rule |
string |
n/a |
yes |
bucket_name_prefix |
The prefix of the bucket name. SNS topics will also include this name. |
string |
n/a |
yes |
domains |
The list of domains to forward to S3 + SNS |
list(string) |
n/a |
yes |
read_only_principals |
The ARNs that have read-only access to the bucket |
list(string) |
[] |
no |
rule_set_name |
The rule set name |
string |
n/a |
yes |