awslabs / aws-lambda-powershell-runtime

This new PowerShell custom runtime for AWS Lambda makes it even easier to run Lambda functions written in PowerShell to process events.
Apache License 2.0
57 stars 17 forks source link

fix demo example to work in new pattern #9

Closed fv-ian closed 1 year ago

fv-ian commented 1 year ago

Issue #, if available:

https://github.com/awslabs/aws-lambda-powershell-runtime/issues/8

Description of changes:

Fix the Demo-runtime-layer-function example to work properly with the Module handler and script handler function call approach. Script calling doesn't work yet.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

julianwood commented 1 year ago

Thanks for prompting this change. I've put together a more extensive change which hopefully simplifies the whole layer creation process. I've added non-AWS SAM option too. https://github.com/awslabs/aws-lambda-powershell-runtime/commit/afe595c298304508383a705250d4b2b4b6440b87 and https://github.com/awslabs/aws-lambda-powershell-runtime/commit/94878165154a1d863e79ac5451c8c77aaa2bca10