Skip to content

Update Github Docs and platform log #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 30, 2020
Merged

Update Github Docs and platform log #3

merged 1 commit into from
Nov 30, 2020

Conversation

jfuss
Copy link
Contributor

@jfuss jfuss commented Nov 30, 2020

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

README.md Outdated
functions packaged as container images). It also simplifies running your application on additional computes.
You can include the Lambda Runtime Interface Emulator in your container image to have it accept HTTP
requests instead of the JSON events required for deployment to Lambda. This component does not emulate
Lambda’s orchestrator, or security and authentication configurations. You can get started by downloading and installing it on your local machine. When the Lambda Runtime API emulator is executed, a /2015-03-31/functions/function/invocations endpoint will be stood up within the container that you post data to it in order to invoke your function for testing.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should the endpoint be under ``

/2015-03-31/functions/function/invocations

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

README.md Outdated
* `#!/bin/sh if [ -z "${AWS_LAMBDA_RUNTIME_API}" ]; then exec /usr/local/bin/aws-lambda-rie /usr/bin/npx aws-lambda-ricelseexec /usr/bin/npx aws-lambda-ricfi`
* Download the runtime interface emulator (https://github.com/aws/aws-lambda-runtime-interface-emulator/releases/latest/download/aws-lambda-rie) from GitHub into your project directory.
* Install the emulator package and change ENTRYPOINT to run the new script by adding the following lines to your Dockerfile:
`ADD aws-lambda-rie /usr/local/bin/aws-lambda-rieENTRYPOINT [ “/entry_script.sh” ]`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs be two lines.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

README.md Outdated

1. From your project directory, run the following command to download the RIE from GitHub and install it on your local machine.

`mkdir -p ~/.aws-lambda-rie && curl -Lo ~/.aws-lambda-rie/aws-lambda-rie \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be better to use 3 backticks, makes it its own section.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@aws aws deleted a comment from sriram-mv Nov 30, 2020
@jfuss jfuss merged commit 20924a8 into aws:main Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants