add example of redrive_policy #2711

Change-Id: Ia1b26bf32d16628c3ef5cf99745ba7c222d3251e
This commit is contained in:
Brandon Rochon 2015-11-11 13:50:54 -08:00
parent 2f163701e8
commit 5bdba00082
1 changed files with 1 additions and 0 deletions

View File

@ -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}"
}
```