aws / chalice

Python Serverless Microframework for AWS
Apache License 2.0
10.64k stars 1.01k forks source link

Support Multilevel base path mapping : Update to API Gateway V2 #1897

Open VaZark opened 2 years ago

VaZark commented 2 years ago

Issue When using custom domain names, if the _urlprefix has / in it, the deployment fails with the error

An error occurred (BadRequestException) when calling the CreateBasePathMapping
  operation: API Gateway V1 doesn't support the slash character (/) in base 
 path mappings. To create a multi-level base path mapping, use API Gateway V2.

Request It would make it easier to isolate and distribute logic across multiple functions if Chalice supports multi-level base path mapping by updating to API Gateway V2

SiviP-Glossai commented 8 months ago

This one is relevant. Please fix this :)