Merge pull request #3866 from br0ch0n/sqs_queue_doc_example
Add example of redrive_policy to docs. Fixes #2711.
This commit is contained in:
commit
9d27504133
|
@ -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