create a router Function that synchronously invokes 2 separate lambdas based on a rule of some sort (e.g. 10% of random traffic or all users in a specific group).
Serverless and Deployment Issues
Paul Johnston
454

Essentially you could create a ‘feature test/balancer’ function that enables you to decide whether a user should use v1 or v2. That way you’d be able to define it in a more configurable way.

Interesting thought!

Show your support

Clapping shows how much you appreciated Alex Hansford’s story.