-
Notifications
You must be signed in to change notification settings - Fork 85
Description
I think this plugin is my best shot at true blue/green deployments using serverless. However, I'd like to use the preTrafficHook before switch to allow an end to end test that uses real HTTP requests, selenium, etc to run, but there is no temporary environment to actually run these tests (an actual endpoint). It's possible to use CodeDeploy to get the version of the lambda that will be deployed and manually invoke test requests against that, but there are a few things specific to API gateway that I would like to test as well. Is this possible?
I was looking at the serverless-domain-manager plugin as well to simply have two seperate stages - a production-current, and production-pending, but I've been unable to find a way to switch the DNS for these environments without having propogation lag/downtime.
Thanks.