- 최신
- 최다 투표
- 가장 많은 댓글
Thank you for sharing the serverless template. I was able to test the same template to create the HTTP API with the cognito authorizer successfully during the 1st serverless deploy command.
Further, I tried to make changes with the authorizer name, issuerUrl, audience etc and it was able to update the stack successfully without any errors. If I tried to run serverless deploy command without making any changes to existing template then it will detect no changes and no updates will be made.
Later, when you remove the DevToolAuthorizer definition then you will face the error "Event references not configured authorizer 'DevToolAuthorizer'" because the authorizer is still referenced in functions events.
Therefore, please share your exact steps for your use-case of continuous updation of template. This will help me reproduce the error behavior and troubleshoot ahead.
Additionally, as serverless is a 3rd party product we would recommend raising an issue with them directly here https://github.com/serverless/serverless/issues
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 2년 전