python-cloudfront-url-tf.pat-dev.advancelocal.dev
python-cloudfront-url-tf
A plain Python handler on a Lambda function URL from OpenTofu. CloudFront serves the page from S3 and caches /api/time for 5 seconds.
App
- Python handler
Runs on
- CloudFront
- origin access control for S3 and Lambda
- response headers policy
- S3
- Lambda function URL, IAM auth, Python, deployed with OpenTofu
Foundation
- inf-baseline
- Wiz scanning
- Scheduled deploys and checks
Cache, live
Polling /api/time every second through CloudFront.
waiting for the first poll
CloudFront hittrip to the app