mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
lets view plan for now
This commit is contained in:
parent
9f6d61b178
commit
c7c208334e
4 changed files with 10 additions and 2 deletions
1
.github/workflows/deploy_terraform.yml
vendored
1
.github/workflows/deploy_terraform.yml
vendored
|
|
@ -52,6 +52,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
env:
|
||||
STAGE: ${{ needs.determine_stage.outputs.stage }}
|
||||
TERRAFORM_APPLY: ${{ needs.determine_stage.outputs.terraform_apply }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ module "address2uprn" {
|
|||
|
||||
image_uri = local.image_uri
|
||||
|
||||
timeout = 900
|
||||
|
||||
environment = merge(
|
||||
{
|
||||
STAGE = var.stage
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ resource "aws_sqs_queue" "dlq" {
|
|||
resource "aws_sqs_queue" "this" {
|
||||
name = var.name
|
||||
|
||||
visibility_timeout_seconds = 120
|
||||
visibility_timeout_seconds = var.timeout * 6
|
||||
|
||||
redrive_policy = jsonencode({
|
||||
deadLetterTargetArn = aws_sqs_queue.dlq.arn
|
||||
|
|
|
|||
|
|
@ -2,5 +2,10 @@ variable "name" { type = string }
|
|||
|
||||
variable "max_receive_count" {
|
||||
type = number
|
||||
default = 5
|
||||
default = 1
|
||||
}
|
||||
|
||||
variable "timeout" {
|
||||
type = number
|
||||
default = 900
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue