Skip to content

Commit

Permalink
build: remove params
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaDiotallevi committed Jan 13, 2025
1 parent 32628a7 commit 4fb2a68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions cdk/lib/__snapshots__/stripe-checkout-spike.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ exports[`The StripeCheckoutSpike stack matches the snapshot 1`] = `
},
"FunctionName": "checkout-session-completed-handler-CODE",
"Handler": "checkoutSessionCompletedHandler.handler",
"MemorySize": 1024,
"MemorySize": 512,
"Role": {
"Fn::GetAtt": [
"CheckoutSessionCompletedHandlerServiceRoleE508FC37",
Expand Down Expand Up @@ -68,7 +68,7 @@ exports[`The StripeCheckoutSpike stack matches the snapshot 1`] = `
"Value": "CODE",
},
],
"Timeout": 300,
"Timeout": 30,
},
"Type": "AWS::Lambda::Function",
},
Expand Down Expand Up @@ -456,7 +456,7 @@ exports[`The StripeCheckoutSpike stack matches the snapshot 2`] = `
},
"FunctionName": "checkout-session-completed-handler-PROD",
"Handler": "checkoutSessionCompletedHandler.handler",
"MemorySize": 1024,
"MemorySize": 512,
"Role": {
"Fn::GetAtt": [
"CheckoutSessionCompletedHandlerServiceRoleE508FC37",
Expand Down Expand Up @@ -486,7 +486,7 @@ exports[`The StripeCheckoutSpike stack matches the snapshot 2`] = `
"Value": "PROD",
},
],
"Timeout": 300,
"Timeout": 30,
},
"Type": "AWS::Lambda::Function",
},
Expand Down
2 changes: 0 additions & 2 deletions cdk/lib/stripe-checkout-spike.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,8 @@ export class StripeCheckoutSpike extends GuStack {
'app' | 'memorySize' | 'fileName' | 'runtime' | 'timeout' | 'environment'
> = {
app,
memorySize: 1024,
runtime: nodeVersion,
fileName: `${app}.zip`,
timeout: Duration.seconds(300),
environment: { APP: app, STACK: this.stack, STAGE: this.stage },
};

Expand Down

0 comments on commit 4fb2a68

Please sign in to comment.