ses-notification-service
dwp/ses-notification-service/aws
Terraform module that creates a service to recieve notifications and distrubute emails via AWS SES
terraform-aws-ses-notification-service Terraform module that creates a service to receive notifications and distribute emails via AWS SES Usage Note: Lambda Zip file can be sourced from https://github.com/dwp/aws-sns-to-ses-mailer/releases ``hcl module "ses_notification_service" { source = "dwp/ses-notification-service/aws" domain = "example.com" region = "eu-west-2" lambda_sns_to_ses_mailer_zip = { base_path = ".", file_name = "aws-sns-to-ses-mailer-0.0.1.zip" } } ` Examples The following example creates the notification service, SNS topic, email template, and distribution list. Notifications published to SNS topic will then be emailed to the distribution list. Enable S3 Access Logging `hcl module "ses_notification_service" { source = "dwp/ses-notification-service/aws" bucket_access_loggi
| Name | Type | Description | Default |
|---|---|---|---|
| region | string | AWS region used by Lambda to communicate with S3 and SES. This should match the | required |
| domain | string | The domain name to add to SES identities for sending emails from | required |
| max_threads | string | The number of parrallel threads the Lambda can use to send messages to SES. A si | "1" |
| bucket_name | string | Name of S3 bucket for storing mailing lists and email templates. | "ses_notification_service" |
| lambda_mailer_role_name | string | Lambda Mailer IAM role name | "lambda_sns_to_ses_mailer" |
| lambda_sns_to_ses_mailer_zip | map(string) | Local path to SES Mailer release: https://github.com/dwp/aws-sns-to-ses-mailer/r | {
"base_path": ".",
"file_name": "aw |
| log_level | string | Logging level for Lambda | "info" |
| bucket_access_logging | list(map(string)) | To enable access loging on the mailing list and email templates bucket pass in a | [] |
| lambda_mailer_cw_log_group_name | string | Lambda Mailer CW log group name | "/aws/lambda/sns_to_ses_mailer" |
| ses_lambda_func_name | string | SES Lambda Function Name | "sns_to_ses_mailer" |
| ses_send_mail_reads3_policy_name | string | SES Send Mail Read s3 Policy name | "ses_send_mail_read_s3" |
| log_retention_days | string | Number of days to hold logs for | "180" |
| common_tags | map(string) | Common Tags | {} |
| cw_logs_policy_name | string | Cloudwatch Logs Policy name | "WriteCloudWatchLogs" |
| ses_mailer_bucket_cmk | string | Lambda Mailer CW log group name | "alias/ses_mailer_bucket_cmk" |
| ses_send_mail_policy_name | string | SES Send Mail Policy name | "ses_send_mail" |
sns_to_ses_mailer_lambda_arn — Lambda mailer ARNses_mailer_bucket — SES Mailer Bucketdomain_identity — Domain identitydomain_identity_verification_token — Domain identity tokenAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,