Python Forum

Full Version: [split] Docker-compose on Pycharm - Connection refused
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
DEPLOY PYTHON LAMBDA

Project structure
Here’s a project structure which we’ll be using during this demo:

$ tree lambda_container
lambda_container
├── README.md
├── lambdas
│ └── git_client
│ ├── Dockerfile
│ └── index.py
└── main.tf

2 directories, 4 files

lambdas – the folder where we put Lambda functions source code
main.tf – Terraform demo code, which will build Docker container for git_client Lambda function and deploy the function afterwards