Closed mpiroc closed 5 years ago
Chatted offline about this. The problem is here is that you are passing the --template
option which overrides any defaults we set. If passed, we use the template passed to find code. You will either need to pass --template
with the value of the built template or not pass template option at all and allow the cli to auto resolve it.
Closing
Description
When I run
sam local invoke
without specifying a template, it succeeds. But if I do specify a template (event the same template, from the same working directory), the invocation throws.Steps to reproduce
Observed result
Expected result
All three invocations succeed, not just the first one.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: 0.16.1 on both OSes.