How prudhvitejapentakota/python-aws-platform-demo works
This repository is an end-to-end AWS deployment demo: a GitHub Actions deployment uses OIDC and Terraform to publish a Python Lambda behind a public Function URL, with CloudWatch Logs for observability. At runtime, an HTTP caller supplies an optional name; the Lambda accepts GET requests and returns a JSON health response and greeting. Infrastructure and workflow details are represented at their tree-supported paths; their relationships are based on the README, since those files were not sampled.
Main entry points: terraform Terraform deployment · deploy.yml GitHub Actions · handler.py Request handler
Components 10
Deployment
- GitHub Actions
.github/workflows/deploy.yml - OIDC credentials
AWS Infrastructure
- AWS IAM role
terraform - Terraform deployment
terraform - Terraform state
terraform - CloudWatch Logs
terraform
Application Runtime
- Lambda function
terraform - Function URL
terraform - Request handler
app/handler.py
Other components
- HTTP caller
Connections 11
- GitHub Actions → OIDC credentials: requests credentials
README.md - OIDC credentials → AWS IAM role: assumes role
README.md - GitHub Actions → Terraform deployment: runs deployment
README.md - Terraform deployment → Terraform state: stores state
README.md - Terraform deployment → Lambda function: provisions
README.md - Terraform deployment → Function URL: provisions
README.md - Terraform deployment → CloudWatch Logs: provisions
README.md - HTTP caller → Function URL: sends request
README.md - Function URL → Lambda function: invokes
README.md - Lambda function → Request handler: dispatches to
README.md - Lambda function → CloudWatch Logs: writes logs
README.md