49
loading...
This website collects cookies to deliver better user experience
serverless deploy
every time. Need to correct that syntax error? Deploy first and invoke manually. It takes you 3-5 minutes to get feedback for such a small change. It's driving you nuts!localhost:8080
.serverless invoke local --function functionName
{
"body": "{\"CardName\": \"Raphael Jambalos\", \"CardNumber\": \"4386290100000200\"}"
}
--path
parameter to our earlier command:serverless invoke local --function create_card \
--path mocks/create_card.json \
--region ap-southeast-1
invoke
command when the application I'm developing is not API-based - when lambda functions are triggered by other event sources like scheduled triggers or S3 file uploads.