kotless icon indicating copy to clipboard operation
kotless copied to clipboard

Support merging multiple projects in the same API Gateway

Open LeoColman opened this issue 4 years ago • 1 comments

Let's say I have 2 teams. Team 1 works on HelloWorld project and Team 2 works on HiWorld project.Both the teams define their APIs:

  • /helloworld
  • /hiworld

And now I want to deploy both to an API gateway, as we're serving these apis do an external client. I want both to be indexed under api.hi , so

  • https://api.hi/helloworld
  • https://api.hi/hiworld

This path is configured in API Gateway as a Custom Domain.

Each API is defined in its own Kotless application, as both teams are doing entire different applications.

I'm not able to do this routing as per API Gateway specification (unless I change how the pathing works). This would be very helpful on using Kotest with a more distributed development

LeoColman avatar Jul 19 '20 19:07 LeoColman

What happens if both teams use the same name and prefix, so that api name is the same? Use different buckets for the data (terraform state and lambda)

kodart avatar Jul 25 '20 11:07 kodart