Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bifravst/aws-cdk-lambda-helpers
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.47
Choose a base ref
...
head repository: bifravst/aws-cdk-lambda-helpers
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.0
Choose a head ref
  • 3 commits
  • 4 files changed
  • 1 contributor

Commits on Feb 26, 2025

  1. Verified

    This commit was signed with the committer’s verified signature.
    RobinMalfait Robin Malfait
    Copy the full SHA
    b97453e View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    RobinMalfait Robin Malfait
    Copy the full SHA
    14aa0e8 View commit details
  3. fix: update dependencies

    Fixes #201
    coderbyheart committed Feb 26, 2025
    Copy the full SHA
    f9017b4 View commit details
Showing with 13 additions and 13 deletions.
  1. +2 −2 cdk/TestStack.ts
  2. +8 −8 package-lock.json
  3. +1 −1 package.json
  4. +2 −2 src/PackedLambdaFn.ts
4 changes: 2 additions & 2 deletions cdk/TestStack.ts
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ export class TestStack extends Stack {
})

new CfnOutput(this, 'lambdaURL', {
exportName: `${this.stackName}:lambdaURL`,
exportName: `${Stack.of(this).stackName}:lambdaURL`,
description: 'API endpoint',
value: url.url,
})
@@ -62,7 +62,7 @@ export class TestStack extends Stack {
})

new CfnOutput(this, 'lambdaAliasImportsURL', {
exportName: `${this.stackName}:lambdaAliasImportsURL`,
exportName: `${Stack.of(this).stackName}:lambdaAliasImportsURL`,
description: 'API endpoint for the lambda using alias imports',
value: urlAliasImports.url,
})
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@
"@types/node": "22.13.5",
"@types/unzip-stream": "0.3.4",
"@types/yazl": "2.4.6",
"cdk": "2.1000.3",
"cdk": "2.1001.0",
"commitlint": "19.7.1",
"husky": "9.1.7",
"id128": "1.6.6",
4 changes: 2 additions & 2 deletions src/PackedLambdaFn.ts
Original file line number Diff line number Diff line change
@@ -37,13 +37,13 @@ export class PackedLambdaFn extends Construct {
) {
super(parent, id)

const { environment, initialPolicy, ...rest } = props
const { environment, initialPolicy, architecture, ...rest } = props

this.logGroup =
props.logGroup ?? new LambdaLogGroup(this, 'fnLogs').logGroup

this.fn = new Lambda.Function(this, 'fn', {
architecture: Lambda.Architecture.ARM_64,
architecture: architecture ?? Lambda.Architecture.ARM_64,
runtime: props.runtime ?? Lambda.Runtime.NODEJS_22_X,
timeout: Duration.seconds(5),
memorySize: 1792,