Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

[proposed procedures] add awsgi into Lambda function directly #71

Closed
jo9553 opened this issue May 23, 2023 · 0 comments
Closed

[proposed procedures] add awsgi into Lambda function directly #71

jo9553 opened this issue May 23, 2023 · 0 comments

Comments

@jo9553
Copy link

jo9553 commented May 23, 2023

  1. create a folder "awsgi" under the main folder (normally, it is the same name as the function name)
  2. create a blank file "init.py" (it seems not showing correctly, that is "__ init __ .py", no space between)
  3. create another file "awsgi.py"
  4. open the file awsgi.py, copy the code from this repository slank/awsgi/awsgi/init.py, replace the code provided from the issue [New requirement] Solution to make awsgi working with Http Api that invoke Lambda functions #67 if you are using HTTP API
  5. in the main code, should be lambda_function.py, add "from awsgi import awsgi"
  6. that's it...
@jo9553 jo9553 changed the title [proposed procedures] Manual added into Lambda function [proposed procedures] add awsgi into Lambda function directly May 23, 2023
@slank slank closed this as completed Mar 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants