mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
sqs time out redploy
This commit is contained in:
parent
ed4131e147
commit
0afa8b3aba
2 changed files with 1 additions and 6 deletions
|
|
@ -5,7 +5,7 @@ resource "aws_sqs_queue" "dlq" {
|
||||||
resource "aws_sqs_queue" "this" {
|
resource "aws_sqs_queue" "this" {
|
||||||
name = var.name
|
name = var.name
|
||||||
|
|
||||||
visibility_timeout_seconds = var.timeout * 6
|
visibility_timeout_seconds = 1000
|
||||||
|
|
||||||
redrive_policy = jsonencode({
|
redrive_policy = jsonencode({
|
||||||
deadLetterTargetArn = aws_sqs_queue.dlq.arn
|
deadLetterTargetArn = aws_sqs_queue.dlq.arn
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,3 @@ variable "max_receive_count" {
|
||||||
type = number
|
type = number
|
||||||
default = 1
|
default = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "timeout" {
|
|
||||||
type = number
|
|
||||||
default = 900
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue