Aws-lambda-dotnet: AWS Layers and Powershell?

Created on 7 Feb 2019  ·  5Comments  ·  Source: aws/aws-lambda-dotnet

In relation to #319, and the announcement of AWS Layers, is this a potential option to make this simpler? Could the .NET Core Runtime be packaged as a layer, so that the actual Powershell script is far more lightweight and easier to iterate/test? That would be huge, uploading a 22MB file every revision is a major stop gap to rapid development compared to Azure Functions or Azure Automation.

Is there any potential guidance around this?

feature-request modullambda-client-lib

Most helpful comment

Now that Layers have .Net Core support, any chance we could bring them Powershell? It would be awesome to be able to upload modules to layers and then have a -Function-Layers flag for the Publish-AWSPowerShellLambda cmdlet (similar to dotnet lambda deploy-function --function-layers).

All 5 comments

Hi @JustinGrote, thank you for your interest in this! Consider participating in this discussion about using .NET Core with Layers: https://github.com/aws/aws-extensions-for-dotnet-cli/issues/58

Now that Layers have .Net Core support, any chance we could bring them Powershell? It would be awesome to be able to upload modules to layers and then have a -Function-Layers flag for the Publish-AWSPowerShellLambda cmdlet (similar to dotnet lambda deploy-function --function-layers).

10 months later, any update here?

@normj any thoughts?

Bueller? Would love for PS modules to be supported in layers.

Was this page helpful?
0 / 5 - 0 ratings