Merge pull request #3866 from br0ch0n/sqs_queue_doc_example

Add example of redrive_policy to docs.

Fixes #2711.
This commit is contained in:
James Nugent 2015-11-12 11:04:55 -06:00
commit 9d27504133
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}"
}
```