- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
Contenus pertinents
- demandé il y a un an
- demandé il y a 8 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans