-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
-
Allow the user to declare assembly dependencies. (what UX?)
- e.g. A function depends on a custom assembly, which will be loaded by
using Assembly ...orAdd-Type ..., orAssembly.Load(...). Do we want to support that scenario? One solution would be theAssemblyLoadContext.Default.Resolving.
- e.g. A function depends on a custom assembly, which will be loaded by
-
CaptureWrite-Hostto loggingWrite-Hostalso write the message toInformationstream, so we are good here. -
PowerShell based Lambda doesn't bundle
AWSPowerShell.NetCore(AWS version ofAzureRM.NetCore) with the runtime, but instead, bundle it with user's scripts in the deployment package. The user needs to use#Requires -Modulesin script to specify the module dependency.- I don't like having
AzureRM.NetCorebundle with user's Function App, that will likely cause duplications of such module, which is a waste of bandwidth. However, that would solve the module version issue, since user needs to be explicit about what version ofAzRMto be deployed. - But we do need a way to let user specify what custom module they want to deploy along with their scripts. (what UX? use
#Requires -Moduleslike Lambda does?) - Just realized that the
funcCLI doesn't have apackoption. Is the deployment restricted to container image?dotnet-lambda packagepack the function app into azipfile, ready for deployment.- Lambda provides a powershell module to facilitate creating a powershell lambda, including templates, create a package (zip), publish a package to AWS.
- By having a powershell helper module, it's able to parse the script to get the module dependencies from
#Requires -Modules ..., and pack the dependencies into the package. We cannot find the dependency moduels without running in the PowerShell session that the user uses for creating the function.
- I don't like having
-
Lambda tool is a .NET Global Tool "Amazon.Lambda.Tools". Maybe(not related to the PS worker)funcCLI should consider to be a Global Tool too, given it's a .NET Core application.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested