I have an API in which 5 of the endpoints are proxies to DynamoDB and one is tied to a Lambda function. In order to do this, I used the Resources section of the serverless.yml file to define the proxies and the Function section to define the Lambda function. I attached the http event to the function. In this context, how would one version the api?
In the context of using Serverless in general, what is the recommended way to version APIs?
From what I have seen so far, you can’t properly version your APIs or Lambda functions with Serverless.
My definition of proper is basically, you can have multiple version running at the same time.
I’ve tried many different ways to do this with the framework, but none were successful.
@shawnmullen the basic problem is that Versioning of Lambda functions and Cloudformation doesn’t play well together. We got this request a few times now and we might implement this at some point in the future, but we’re not sure yet how exactly.