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!
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 |
Name | Description |
---|---|
sns_topic_arn | The ARN of the SNS topic |
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"
}
Like this project? Please give it a ★ on our GitHub!
Got a question?
File a GitHub issue.
Please use the issue tracker to report any bugs or file feature requests.
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.