Skip to content

Instantly share code, notes, and snippets.

@quatrix
Created January 20, 2022 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quatrix/3c9ab66db13a167e0ad41f7f9c208990 to your computer and use it in GitHub Desktop.
Save quatrix/3c9ab66db13a167e0ad41f7f9c208990 to your computer and use it in GitHub Desktop.
resource "aws_sns_topic" "pagerduty_service" {
name = "pagerduty_service"
}
resource "aws_sns_topic_subscription" "pagerduty_service" {
topic_arn = aws_sns_topic.pagerduty_service.arn
protocol = "https"
endpoint = "https://events.pagerduty.com/integration/{your-integration-key}/enqueue"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment