(API Gateway): (Authorizer must be attached to a RestApi.) #30320
Labels
@aws-cdk/aws-route53
Related to Amazon Route 53
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
needs-reproduction
This issue needs reproduction.
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
Getting the above error
Note - createSessionAuthorizer is coming from separate package.
Error: Resolution error: Resolution error: Resolution error: Authorizer
must be attached to a RestApi.
Object creation stack:
at Execute again with CDK_DEBUG=true to capture stack traces..
Expected Behavior
Authorizer should be attached to Api gateway.
Current Behavior
It is failing with
Authorizer must be attached to a RestApi
.Reproduction Steps
Provided the code above.
Note - createSessionAuthorizer is coming from separate package.
Error: Resolution error: Resolution error: Resolution error: Authorizer
must be attached to a RestApi.
Object creation stack:
at Execute again with CDK_DEBUG=true to capture stack traces..
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.118.0
Framework Version
No response
Node.js Version
18
OS
windows
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: