Skip to content

marcelinhov2/sls-study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sls-study

image

First Steps

git clone yarn install

Para rodar local

Rode em uma aba separada

serverless offline --stage <STAGE>

Para testar o fluxo de coleta e consumo

sls step-functions-offline --stateMachine=underminer --event=underminer/stepfunction-event.json --stage <STAGE>

Para testar uma coleta específica

serverless invoke local --function <SOURCE> --path underminer/integrations/sources/<SOURCE>/event.json --stage <STAGE>

Para fazer deploys

  • Configurar o CLI da AWS na máquina
  • Adicionar o accountId da AWS no arquivo serverless.yml

serverless deploy -v --stage <STAGE> serverless invoke --function athenaInit --stage <STAGE>

Para inicias a coleta

serverless invoke local --function ignition --stage <STAGE>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published