mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "**"
|
- "main"
|
||||||
|
- "dev"
|
||||||
|
- "prod"
|
||||||
paths:
|
paths:
|
||||||
- 'infrastructure/terraform/**'
|
- 'infrastructure/terraform/**'
|
||||||
- '.github/workflows/deploy_terraform.yml'
|
- '.github/workflows/deploy_terraform.yml'
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,5 @@ variable "name" { type = string }
|
||||||
|
|
||||||
variable "max_receive_count" {
|
variable "max_receive_count" {
|
||||||
type = number
|
type = number
|
||||||
default = 5
|
default = 1
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue