AWS SNS EMAIL Terraform Module A Terraform module to subscribe to an email endpoint by using an existing or creating a new SNS topic. Requirements You must have the AWS CLIv2 installed. Features Subscribe to an existing AWS SNS topic Create a new AWS SNS topic and subscribe to it Several email addresses may be passed Examples Either pass an existing AWS SNS topic arn or create a new one by this module as well. 2 Examples Requirements Name Version terraform >= 0.14 aws >= 3.37.0 null >= 3.1.0 Providers Name Version aws >= 3.37.0 null >= 3.1.0 Inputs Name Description Type Default Required email_addresses_list List of email addresses. list(string) n/a yes sns_topic Configuration for new SNS topic. If you define a policy use jsonencode() to pass the value. object({ topic_name = string display_name = string policy = any kms_key_id = string }) { "display_name": "myDisplayName", "kms_key_id": "myKmsKeyId", "policy": null, "topic_name": "myTopicName"} no sns_topic_arn SNS topic arn. string "" no tags Tags to apply. map(string) {} no Outputs Name Description this_sns_topic_arn SNS topic arn