Skip to content

Commit a9130cc

Browse files
committed
(rust): Deploy the Rust lambda
The lambda doesn't yet write to DynamoDB, but it functions enough to be confident it's picking up events from SQS and validating the structure
1 parent 2e937f8 commit a9130cc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

infra/lambda.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,13 @@ module "typescript_lambda" {
77
handler = "index.handler"
88
dynamodb_table_name = var.dynamodb_table_name
99
}
10+
11+
module "rust_lambda" {
12+
source = "./modules/lambda"
13+
14+
source_file = "../lambda/rust/target/lambda/rust/bootstrap.zip"
15+
language_name = "rust"
16+
runtime = "provided.al2023"
17+
handler = "bootstrap"
18+
dynamodb_table_name = var.dynamodb_table_name
19+
}

0 commit comments

Comments
 (0)