Skip to content

Terraform module to create SNS subscriptions

License

Notifications You must be signed in to change notification settings

virsas/terraform_sns_subscription

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform_sns_subscription

Terraform module to create SNS subscriptions to endpoint.

Dependencies

Terraform example

##################
# SNS subscription
##################
module "sns_subscription_alarms_pagerduty" {
  source = "git::https://github.com/virsas/terraform_sns_subscription.git?ref=v1.0.0"
  # ARN of the associated SNS topic
  topic = module.sns_topic_alarms.arn
  # the protocol of the endpoint
  protocol = "https"
  # End point URL. Forexample pagerduty API
  endpoint = "https://api.example.org/v2"
}