Closed yyaskriloff closed 2 months ago
@fwang are dlq a thing in the current version of ion? or is a custom component the only way to go about this right now?
Edit: Just stumbled across this in the pulumi docs. So I assume this should work? Haven't tested it yet though.
const dlq = new aws.sqs.Queue('DLQ')
const queue = new sst.aws.Queue('MyQueue', {
transform: {
queue: {
redrivePolicy: dlq.arn.apply(arn => JSON.stringify({
deadLetterTargetArn: arn,
maxReceiveCount: 5
}))
}
}
})
@yyaskriloff @beeirl Take a look at this PR, it adds Dead Letter Queue support https://github.com/sst/ion/pull/565
@yyaskriloff @beeirl Take a look at this PR, it adds Dead Letter Queue support
Thank you.
Adding the ability to add DLQ for SQS, SNS and I believe lambda.
or maybe even not having to create a new queue