Merge pull request #714 from Hestia-Homes/feature/ordnance_survey

Feature/ordnance survey
This commit is contained in:
Jun-te Kim 2026-02-16 17:31:04 +00:00 committed by GitHub
commit b1bf0a49cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 3 deletions

View file

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

View file

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

View file

@ -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 = 120 visibility_timeout_seconds = 1000
redrive_policy = jsonencode({ redrive_policy = jsonencode({
deadLetterTargetArn = aws_sqs_queue.dlq.arn deadLetterTargetArn = aws_sqs_queue.dlq.arn

View file

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