Skip to content

Commit 876db47

Browse files
committed
Starts to provision lambda pdf stitcher infrastructure
1 parent f03d8c0 commit 876db47

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed
Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
module "pdf-stitching-lambda" {
22
source = "./modules/lambda"
3-
name = "PDF Stitching Lambda"
3+
name = "PDF-stitching-lambda"
44
handler = "handlers.pdf-stitching-lambda.lambda_handler"
55
lambda_timeout = 900
66
iam_role_policy_documents = [
77
module.ndr-lloyd-george-store.s3_write_policy_document,
88
module.ndr-bulk-staging-store.s3_read_policy_document,
99
module.sqs-nrl-queue.sqs_write_policy_document,
1010
module.sqs-stitching-queue-deadletter.sqs_write_policy_document
11-
]
11+
]
1212
rest_api_id = null
13-
api_execution_arn = null
14-
15-
16-
17-
}
13+
api_execution_arn = aws_api_gateway_rest_api.ndr_doc_store_api.execution_arn
14+
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
module "sqs-stitching-queue-deadletter" {
22
source = "./modules/sqs"
3-
name = "stitching-queue"
3+
name = "stitching-queue-dlq"
44
environment = var.environment
55
owner = var.owner
66
message_retention = 1800
77
enable_sse = true
88
max_visibility = 601
9-
enable_deduplication = true
109
enable_dlq = true
1110
}

infrastructure/sqs-stitching.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
module "sqs-stitching-queue" {
22
source = "./modules/sqs"
3-
name = "stitching-queue"
3+
name = "stitching-queue.fifo"
44
environment = var.environment
55
owner = var.owner
66
message_retention = 1800
77
enable_sse = true
88
max_visibility = 601
99
enable_deduplication = true
10+
enable_fifo = true
1011
}

0 commit comments

Comments
 (0)