Skip to content

Coaktion/terraform-aws-event-bridge-sns-scheduler-module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Event bridge SNS scheduler module

This terraform module creates one or more event bridge schedulers that send a message to a SNS topic. It has a integration with a AWS pubsub module that creates a SNS topic, a SQS queue with a DLQ and a subscription between them. You just have to pass the topic and queue names and the module will create the subscription.

Usage

module "event-bridge-sns-scheduler" {
  source = "github.com/Coaktion/terraform-aws-event-bridge-sns-scheduler-module"
  schedulers = [ 
    {
      name = "test-scheduler"
      description = "This is a test scheduler"
      schedule_expression = "cron(10 17 * * ? *)"
      maximum_window_in_minutes = 60
      create_pubsub = true
      mode = "FLEXIBLE"
      topic_name = "example_topic"
      queue_name = "example_queue"
      input = "This is a test message"
    }
  ]

  account_id = "123456789012"
  region = "us-east-1"
}

About

Terraform module to create event bridge schedulers integrated with AWS SNS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%