You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, I am trying to deploy a RESTapi to aws using provider-aws-apigateway. I am having an issue with the BasePathMapping kind where it is not wanting to create correctly.
When I try to create this I am getting this error:
async create failed: failed to create the resource: [{0 creating API Gateway Base Path Mapping: BadRequestException: 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. []}]
From what I have read API Gateway V2 is for WebSocket and HTTP apis and not necessarily for REST apis. I have been trying to look online and have not been able to find any examples of a BasePathMapping resource that actually uses the basePath section. Any help at all is greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone, I am trying to deploy a RESTapi to aws using provider-aws-apigateway. I am having an issue with the BasePathMapping kind where it is not wanting to create correctly.
Here is the yaml I am using with dummy values:
When I run create this it will create correctly and it will connect the api to the custom domain name, however I need to add a base path like this:
When I try to create this I am getting this error:
From what I have read API Gateway V2 is for WebSocket and HTTP apis and not necessarily for REST apis. I have been trying to look online and have not been able to find any examples of a BasePathMapping resource that actually uses the basePath section. Any help at all is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions