educative.io

Course is outdated so terminal operations not working properly (build failing)

nodejs12.x is not supported anymore by aws, so deploy operation is failing. You can edit output.yaml file through terminal, and set node to nodejs14.x, so the deploy will be completed successful, but…

P.S. If you ran sam deploy the stack will be broken and will not redeploy any further, so you need to manually delete stack with aws cloudformation delete-stack --stack-name sam-test-1.
Next, you can install nano with apt install nano, edit output.yaml with nano output.yaml, save it with Ctrl+X (answer Y to save proposal), and rerun the deploy command


Course: https://www.educative.io/collection/10370001/4655284909768704
Lesson: https://www.educative.io/collection/page/10370001/4655284909768704/6674251688968192


Course: https://www.educative.io/collection/10370001/4655284909768704
Lesson: https://www.educative.io/collection/page/10370001/4655284909768704/6674251688968192