Skip to content

A Terraform module to subscribe to an email endpoint by using an existing or creating a new SNS topic.

Notifications You must be signed in to change notification settings

Olgoetz/terraform-aws-sns-email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Terraform module to subscribe to an email endpoint by using an existing or creating a new SNS topic.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages