2

I created a rule in eventbridge to call ssm automation doc at the instance launch lifecycle in auto-scaling group but it's failing to call the ssm doc. where can i see the log for this or find out why it failed?

enter image description here

1 Answers1

2

You can add a dead-letter queue to your rule’s target, and then view the attributes of the message placed on the DLQ to see the error message EventBridge receives from the target.

You can read more about adding a DLQ here: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-rule-dlq.html

Note, it’s worth setting your retry count to 0 while you’re debugging, otherwise you’ll have to wait for EventBridge to exhaust the default 24hrs of retries before it places the event on the DLQ.

Nick Smit
  • 101
  • 4
  • thanks for the note. I was wondering why I haven't receiving anything to the DLQ then I saw your note :) – AreUMinee Oct 19 '22 at 11:08