Testing a function before putting it in production is usually a wise decision. To handle this VXL supports multiple function version. A function can be edited as a new version and this version can be made available for just the test environment. It can later be Deploy or undeploy a function.

When editing a function the user will be able to choose between updating existing version and creating a new version. Please note that updating the existing version will affect all environments the version is deployed to.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b4663531-133f-43aa-aa05-0fbb7ce1e49f/image2017-3-27_15-40-2.png

Please note: When the function version is saved, it will currently be added to every environment the user has write access to. To undeploy the version from an environment click "Deploy or undeploy a function"