node-cdn-url-auth-tf.svrlss.advancelocal.dev

node-cdn-url-auth-tf

Two sites from OpenTofu: a public page with a cached API and short links answered at the edge, and an admin site at admin.<hostname> where invited people sign in with Cognito, by email code or Entra, to manage the links. The admin function keeps the session in an HttpOnly cookie, so the browser never holds a token.

App

Runs on

Foundation

Cache, live

Polling /api/time every second through CloudFront.

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

    Deployed with OpenTofu, one root module. How it works

    π