A Terraform module to subscribe to an email endpoint by using an existing or creating a new SNS topic.
You must have the AWS CLIv2 installed.
- Subscribe to an existing AWS SNS topic
- Create a new AWS SNS topic and subscribe to it
- Several email addresses may be passed
Either pass an existing AWS SNS topic arn or create a new one by this module as well.
Name | Version |
---|---|
terraform | >= 0.14 |
aws | >= 3.37.0 |
null | >= 3.1.0 |
Name | Version |
---|---|
aws | >= 3.37.0 |
null | >= 3.1.0 |
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({ |
{ |
no |
sns_topic_arn | SNS topic arn. | string |
"" |
no |
tags | Tags to apply. | map(string) |
{} |
no |
Name | Description |
---|---|
this_sns_topic_arn | SNS topic arn |