lambda_publish_version function

Creates a version from the current code and configuration of a function