Skip to content

Documentation missing for PowerShell Containers on AWS Lambda #823

Open
@pcgeek86

Description

@pcgeek86

I was going through the documentation for AWS Lambda and noticed that there isn't any documentation for PowerShell Containers on Lambda. According to the Lambda Containers announcement, all Lambda runtimes are supported with containers. Is that true for PowerShell?

I also tried to run pwsh from the "dotnet" container image on the AWS public ECR gallery. It doesn't appear to be installed in the dotnet image, so how would I package up a PowerShell container for Lambda?

PS > docker run --rm -it --entrypoint sh public.ecr.aws/lambda/dotnet
sh-4.2# ls
sh-4.2# dotnet

Usage: dotnet [options]
Usage: dotnet [path-to-application]

Options:
  -h|--help         Display help.
  --info            Display .NET information.
  --list-sdks       Display the installed SDKs.
  --list-runtimes   Display the installed runtimes.

path-to-application:
  The path to an application .dll file to execute.
sh-4.2# pwsh
sh: pwsh: command not found

Notice how the documentation for Lambda Containers skips over PowerShell, but exists for other languages, in the following screenshot.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.mEffort estimation: mediummodule/lambda-client-libp2This is a standard priority issuequeued

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions