GithubHelp home page GithubHelp logo

tf-sns-email-topic-subscription's Introduction

tf-sns-email-topic-subscription

Creates an AWS SNS topic and email subscription list via CloudFormation

Variables

  • email_list_name = whatever you want to name the email list (e.g. errors or warnings)
  • email_list = a list of email addresses to send emails to
  • common_tags = whatever tags you're using on every resource
  • name_tag = prefix for the 'Name' tag

Outputs

  • the AWS SNS topic information
    • arn
    • id
    • name

Example

error_sns_subscription_email_list = ["[email protected]"]

locals {
  common_tags = {
    repo        = var.gitrepo
    environment = var.environment
  }
  name_tag = "${var.environment}-${var.product_name}"
}


module "email_error_alerts" {
  source          = "github.com/watsonjm/tf-sns-email-topic-subscription?ref=v1.0"
  email_list_name = "errors"
  email_list      = var.error_sns_subscription_email_list
  common_tags     = local.common_tags
  name_tag        = local.name_tag
}

tf-sns-email-topic-subscription's People

Contributors

watsonjm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.