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...
  • НаукаНаука

Комментарии • 3

  • @dipumondal6128
    @dipumondal6128 10 месяцев назад

    Thank you Sam for your efforts.
    What ever I have learnt about AWS so far only because of you.

  • @fadlikadn
    @fadlikadn 3 года назад +1

    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.

    • @CompleteCoding
      @CompleteCoding  3 года назад +1

      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?