Checking for a notice

dev.syracuse-school-closings.advancelocal.dev

node-cdn-url-auth-tf

Two sites from OpenTofu: a public page that shows a site notice, and an admin site at admin.<hostname> where invited people sign in with Cognito, by email code or Entra, to set it. Saving writes the notice to the table and to a notice.json that CloudFront caches for 30 seconds and that other sites may read through CORS. The admin function keeps the session in an HttpOnly cookie, so the browser never holds a token.

App

Runs on

Foundation

Deployed with OpenTofu, one root module. How it works