A function can be active in multiple environments. A typical process in editing a function could be creating a new version of the function and making it available in test. Once the function is verified, it can be moved to production.

To move a function to production, select "Map Environments" from the "Functions" page.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d081676b-4570-4552-8de6-97048ddbd85f/image2017-3-27_15-25-58.png

Select an environment to deploy to and check the correct version for the version of a function to be deployed. To undeploy the function, one can uncheck the checkbox. Save and close

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/549ab400-a802-4c94-a331-ea322cd955ee/image2017-3-27_15-24-55.png

Verify that the function is available in the new environment

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/74581568-e181-46e0-8af8-61c6e8cf0e02/image2017-3-27_15-27-22.png