add example of redrive_policy #2711
Change-Id: Ia1b26bf32d16628c3ef5cf99745ba7c222d3251e
This commit is contained in:
parent
2f163701e8
commit
5bdba00082
|
@ -17,6 +17,7 @@ resource "aws_sqs_queue" "terraform_queue" {
|
|||
max_message_size = 2048
|
||||
message_retention_seconds = 86400
|
||||
receive_wait_time_seconds = 10
|
||||
redrive_policy = "{\"deadLetterTargetArn\":\"${aws_sqs_queue.terraform_queue_deadletter.arn}\",\"maxReceiveCount\":4}"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue