aws / aws/aws-lambda-dotnet

Documentation missing for PowerShell Containers on AWS Lambda

Open
#823 7 comments 13 reactions 0 assignees View on GitHub
feature-request m module/lambda-client-lib p2 queued
Dominant language
C#
Stars
1.7k
Forks
503
Avg merge
1d 5h
Merged PRs (30d)
18

Description

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](https://user-images.githubusercontent.com/466713/110213047-990fb800-7e5b-11eb-9d63-5978c0d4f736.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.