Skip to content

Commit e8e8a5f

Browse files
Merge branch 'main' into feature/CCM-12963-E2ETests
2 parents 1e0940b + fe8ce2e commit e8e8a5f

File tree

11 files changed

+13
-13
lines changed

11 files changed

+13
-13
lines changed

infrastructure/terraform/components/api/module_lambda_get_letter.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module "get_letter" {
2424
function_include_common = true
2525
handler_function_name = "getLetter"
2626
runtime = "nodejs22.x"
27-
memory = 128
27+
memory = 512
2828
timeout = 29
2929
log_level = var.log_level
3030

infrastructure/terraform/components/api/module_lambda_get_letters.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module "get_letters" {
2424
function_include_common = true
2525
handler_function_name = "getLetters"
2626
runtime = "nodejs22.x"
27-
memory = 128
27+
memory = 1024
2828
timeout = 29
2929
log_level = var.log_level
3030

infrastructure/terraform/components/api/module_lambda_get_status.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module "get_status" {
2424
function_include_common = true
2525
handler_function_name = "getStatus"
2626
runtime = "nodejs22.x"
27-
memory = 128
27+
memory = 512
2828
timeout = 29
2929
log_level = var.log_level
3030

infrastructure/terraform/components/api/module_lambda_letter_status_update.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module "letter_status_update" {
2424
function_include_common = true
2525
handler_function_name = "letterStatusUpdate"
2626
runtime = "nodejs22.x"
27-
memory = 128
27+
memory = 512
2828
timeout = 29
2929
log_level = var.log_level
3030

infrastructure/terraform/components/api/module_lambda_mi_updates_transformer.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module "mi_updates_transformer" {
2424
function_include_common = true
2525
handler_function_name = "handler"
2626
runtime = "nodejs22.x"
27-
memory = 128
27+
memory = 512
2828
timeout = 29
2929
log_level = var.log_level
3030

infrastructure/terraform/components/api/module_lambda_patch_letter.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module "patch_letter" {
2424
function_include_common = true
2525
handler_function_name = "patchLetter"
2626
runtime = "nodejs22.x"
27-
memory = 128
27+
memory = 512
2828
timeout = 29
2929
log_level = var.log_level
3030

infrastructure/terraform/components/api/module_lambda_post_mi.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module "post_mi" {
2424
function_include_common = true
2525
handler_function_name = "postMI"
2626
runtime = "nodejs22.x"
27-
memory = 128
27+
memory = 512
2828
timeout = 29
2929
log_level = var.log_level
3030

lambdas/api-handler/src/handlers/__tests__/get-letter.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe("API Lambda handler", () => {
6969

7070
expect(result).toEqual({
7171
statusCode: 200,
72-
body: JSON.stringify(expected, null, 2),
72+
body: JSON.stringify(expected),
7373
});
7474
});
7575

@@ -113,7 +113,7 @@ describe("API Lambda handler", () => {
113113

114114
expect(result).toEqual({
115115
statusCode: 200,
116-
body: JSON.stringify(expected, null, 2),
116+
body: JSON.stringify(expected),
117117
});
118118
});
119119

lambdas/api-handler/src/handlers/__tests__/get-letters.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ describe("API Lambda handler", () => {
124124

125125
expect(result).toEqual({
126126
statusCode: 200,
127-
body: JSON.stringify(expected, null, 2),
127+
body: JSON.stringify(expected),
128128
});
129129
});
130130

@@ -177,7 +177,7 @@ describe("API Lambda handler", () => {
177177

178178
expect(result).toEqual({
179179
statusCode: 200,
180-
body: JSON.stringify(expected, null, 2),
180+
body: JSON.stringify(expected),
181181
});
182182
});
183183

lambdas/api-handler/src/handlers/get-letter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default function createGetLetterHandler(
6262
);
6363
return {
6464
statusCode: 200,
65-
body: JSON.stringify(response, null, 2),
65+
body: JSON.stringify(response),
6666
};
6767
} catch (error) {
6868
emitForSingleSupplier(

0 commit comments

Comments
 (0)