I am implementing a pipeline where I want to deploy a lambda to SAM and then be able to hit the endpoint that was started, the problem is that when the pipeline runs the sam start local-api it succeeds but keeps waiting forever:
This is the steps that creates the YAML to run SAM:
- script: |
yarn local
yarn sam:dev-api
displayName: "SAM Deployment"
workingDirectory: api-generator/helloworld-api
And here you can see how it gets stucked waiting for the ednpoint to be hit of pressing ctrl + c:
Is there a way in which I can run the sam start command and the continue the pipeline to test the endpoint (kind of a sam start non-blocking run)? or a tool recommended to kind of run a virtual bash that can run several instances at the same time in Azure DevOps?
Thanks in advance!
