Open madhub opened 1 month ago
This binary emulates the Lambda runtime interface, which is only Amazon Linux, therefore is not expected to actually run on Windows. To use it correctly, you need a Docker base image that contains the actual Lambda runtime (this is just the interface with an underlying runtime). If you have an image function, then you can follow the instructions in the README. If you have a zip function, the easiest way to make use of this is to use SAM CLI which uses RIE behind the scenes. In both cases, you need Docker.
This binary emulates the Lambda runtime interface, which is only Amazon Linux, therefore is not expected to actually run on Windows. To use it correctly, you need a Docker base image that contains the actual Lambda runtime (this is just the interface with an underlying runtime). If you have an image function, then you can follow the instructions in the README. If you have a zip function, the easiest way to make use of this is to use SAM CLI which uses RIE behind the scenes. In both cases, you need Docker.
Ok, got it
Just for clarification, what is windows installation step here 👇
That installation basically downloads the latest version of RIE into your Windows machine (for the corresponding platform). With that latest version you can then do the instructions to Build RIE into your base image
Followed the instruction provided to install "aws-lambda-runtime-interface-emulator" on windows , it copies Linux binary to program files. Executed following command from powershell administrator prompt to install. Used gitbash file command to verify the binary
checked the file type from windows gitbash shell
Please build windows binary & update the documentation