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
I stumbled upon this today:
when using the serverless-pseudo-parameters plugin, the custom authorizer support breaks.
An error occurred: AuthorizerApiGatewayAuthorizerdev - Invalid Authorizer URI: :${stageVariables.SERVERLESS_ALIAS}arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:811794430790:function:authorizer/invocations. Authorizer URI should be a valid API Gateway ARN that represents a Lambda function invocation..
Reason seems to be that the pseudo parameters plugin replaces the direct arn reference of the lambda arn:aws:lambda: .... with a call to Cloudformation Fn::Sub function (as intented). This break the detection of the custom authorizer as I implemented it.
Hi,
I stumbled upon this today:
when using the serverless-pseudo-parameters plugin, the custom authorizer support breaks.
Reason seems to be that the pseudo parameters plugin replaces the direct arn reference of the lambda
arn:aws:lambda: ....
with a call to CloudformationFn::Sub
function (as intented). This break the detection of the custom authorizer as I implemented it.I created a Pull Request to fix this.
The text was updated successfully, but these errors were encountered: