tf-python-cloudfront-apigw.patterns.advancelocal.dev

tf-python-cloudfront-apigw

A plain Python handler on Lambda from OpenTofu, no Zappa. CloudFront serves the page from S3 and caches /api/live from API Gateway for 5 seconds.

App

Runs on

Foundation

Cache, live

Polling /api/live every second through CloudFront.

--:--:--
    waiting for the first poll
    CloudFront hittrip to the app

    Deployed with OpenTofu, one root module. How it works

    Would you like to play a game? Tetris courtesy of Jeff Hobbs.