Running Tests as part of the Serverless Deployment Process on AWS
HTML-код
- Опубликовано: 6 июл 2024
- Link to the playlist : • Production Ready Serve...
link to the serverless deployment lifecycle events : gist.github.com/HyperBrain/50...
link to the completed code : github.com/SamWSoftware/Serve... Наука
Thank you Sam for your efforts.
What ever I have learnt about AWS so far only because of you.
Great tutorial Sam,
when following the tutorial, I got this error on Windows environment.
this happened after add scripts-hooks on serverless yaml
scripts:
hooks:
'aws:common:validate:validate': tableName=player-points-table jest
and when I run sls deploy, I got this error :
tableName' is not recognized as an internal or external command,
operable program or batch file.
Error --------------------------------------------------
Error: Command failed: tableName=player-points-table jest
- - - - - -
Can you help me to solve this? Thanks.
So this is because a windows environment you don't natively use the bash terminal. You can install a bash terminal on Windows. A quick google should point you in the right direction.
You could also see if there is a different way to pass environment variables into a command in powershell?