Skip to content

dubiety/terraform-aws-sns-pagerduty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-sns-pagerduty

Build Status Latest Release

Terraform module that integrate PagerDuty to SNS topic. It's 100% Open Source and licensed under the APACHE2.

v0.x supports terraform v0.12+ syntax! v1.x supports terraform v1.0+ syntax!

Inputs

Name Description Type Default Required
create Whether to create all the resources bool true no
create_sns_topic Whether to create new SNS topic bool true no
display_name The display name for the SNS topic string "" no
kms_master_key_id The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK string "" no
pagerduty_endpoint The PagerDuty HTTPS endpoint where SNS notifications will be sent to string n/a yes
sns_topic_name The name of SNS topic to create or reference string n/a yes
tags A map of tags to add to the sns_topic resource map(string) {} no

Outputs

Name Description
sns_topic_arn The ARN of the SNS topic

Examples

See the examples/ directory for working examples.

One can also simply assign the source from terraform registry:

module "sns-pagerduty" {
  source  = "dubiety/sns-pagerduty/aws"
  version = "0.3.2"

  create             = 1
  create_sns_topic   = 1
  pagerduty_endpoint = "https://events.pagerduty.com/integration/INTEGRATION_KEY/enqueue"
  sns_topic_name     = "cloudwatch-incidents-demo"
}

Share the Love

Like this project? Please give it a ★ on our GitHub!

Help

Got a question?

File a GitHub issue.

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or file feature requests.

License

License

See LICENSE for full details.

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

  https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.

About

terraform module for AWS SNS subscription and PagerDuty integration

Resources

License

Stars

Watchers

Forks

Packages

No packages published