mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
* feat(lambdaweb): serve each region of a PerRegion endpoint in that region A request to the regional domain of another region now runs in an environment of that region. It gets that region in AWS_REGION and from the metadata endpoint, and maxEnvironments and rateLimit count per region. Its .local logs and its metrics go to that region. The centralized logs and AWS/Lambda/Web also go to the home region, as on AWS. SigV4 and aws:RequestedRegion use the region of the domain. The regional domains share one id, as on AWS. The MultiRegion global domain stays in the home region. * test(lambdaweb): wait for the logs once and cover the mirror region deny The Docker test now waits only for the centralized stream, since each batch reaches the .local group first. The Authorization headers come from EnforcementFixtures.auth. The RequestedRegion test also denies us-east-1 and checks that the west domain is still allowed.