paypal / ipn-code-samples

Other
562 stars 486 forks source link

aws example is not referencing the dead letter queue #148

Open kjpgit opened 5 years ago

kjpgit commented 5 years ago

The SQS queue isn't set up to use the timeout queue. Trivial fix:

--- a/aws/paypal/ipn-sqs.yaml +++ b/aws/paypal/ipn-sqs.yaml @@ -52,7 +52,7 @@ Resources: Properties: QueueName: !Ref DeliveryQueueName RedrivePolicy: - deadLetterTargetArn: !GetAtt ErrorQueue.Arn + deadLetterTargetArn: !GetAtt TimeoutQueue.Arn maxReceiveCount: 3