Merge branch 'main' into deploy-categorisation

This commit is contained in:
Daniel Roth 2026-02-17 09:26:52 +00:00
commit fa8d11c98c
4 changed files with 7 additions and 3 deletions

View file

@ -3,7 +3,9 @@ name: Deploy infrastructure
on:
push:
branches:
- "**"
- "main"
- "dev"
- "prod"
paths:
- 'infrastructure/terraform/**'
- '.github/workflows/deploy_terraform.yml'

View file

@ -22,6 +22,8 @@ module "address2uprn" {
image_uri = local.image_uri
timeout = 900
environment = merge(
{
STAGE = var.stage

View file

@ -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

View file

@ -2,5 +2,5 @@ variable "name" { type = string }
variable "max_receive_count" {
type = number
default = 5
default = 1
}