adding reminders.

This commit is contained in:
Bryce Covert
2018-04-07 10:08:53 -07:00
parent 9e67b04b1b
commit c5344a27eb

10
terraform/reminders.tf Normal file
View File

@@ -0,0 +1,10 @@
resource "aws_sns_topic" "reminder_topic" {
name = "reminders"
}
resource "aws_sns_topic_subscription" "send_reminders_to_service" {
topic_arn = "${aws_sns_topic.reminder_topic.arn}"
protocol = "https"
endpoint = "https://integreat.aws.brycecovertoperations.com/api/reminders/send"
endpoint_auto_confirms = true
}