Using AWS SAM Local I can test my serverless application locally, which is awesome.
I can also deploy to AWS, which apparently takes the same flags as aws cloudformation deploy
, so I can pass a parameters file with e.g. application secrets (API keys and such).
However, I can't find anything in aws local start-api --help
or in the docs on Github about how to use a parameter file when testing locally.
How do I point to a parameters file to use with my template when running sam local start-api
?