mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Merge pull request #714 from Hestia-Homes/feature/ordnance_survey
Feature/ordnance survey
This commit is contained in:
commit
b1bf0a49cd
4 changed files with 7 additions and 3 deletions
4
.github/workflows/deploy_terraform.yml
vendored
4
.github/workflows/deploy_terraform.yml
vendored
|
|
@ -3,7 +3,9 @@ name: Deploy infrastructure
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- "**"
|
||||
- "main"
|
||||
- "dev"
|
||||
- "prod"
|
||||
paths:
|
||||
- 'infrastructure/terraform/**'
|
||||
- '.github/workflows/deploy_terraform.yml'
|
||||
|
|
|
|||
|
|
@ -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 = 1000
|
||||
|
||||
redrive_policy = jsonencode({
|
||||
deadLetterTargetArn = aws_sqs_queue.dlq.arn
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@ variable "name" { type = string }
|
|||
|
||||
variable "max_receive_count" {
|
||||
type = number
|
||||
default = 5
|
||||
default = 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue