I don’t want to create a new API, especially not for each service. I have an authorizer already created that I want to re-use. I think I’ve figured out how to specify the specific authorizer in the yml file, but how do I tell it which API to use for endpoints instead of creating a new one?
1 Like
At the moment you’re not able to reference an existing API. We decided that all resources that are used inside of a service should also be created by that service as it makes the CF deployment much cleaner. Any resource you want to handle externally needs to be connected externally as well.
What you would have to do is create the functions through Serverless and then configure your existing endpoint to run those previously deployed functions. This way you can have one API Gateway endpoint configured.