I was going to post this as a Github issue but I think I’m just doing something wrong. I have a fairly simple ApplicationJob that looks like:
class ApplicationJob < Jets::Job::Base depends_on :dead_letter_queue # Adjust to increase the default timeout for all Job classes class_timeout 60 # **** Dead letter config that seems to be causing problems **** class_dead_letter_config ref(:dead_letter) end
However, this fails to create a job that inherits from ApplicationJob, because it says:
Template format error: Unresolved resource dependencies [DeadLetter] in the Resources block of the template.
The shared resource is very simple:
class DeadLetterQueue < Jets::Stack sqs_queue(:dead_letter) end
Any suggestions are welcomed!