I am using aws-sam-local to write, test and deploy some Lambda functions.
Using the -env-var
option I can pass env.json when testing locally, so my lambdas get properties I don't have to source control.
How do I publish these values? The aws-sam-local cli seems to sit ontop of the main aws cli, and I see a --parameter-override
option, but that only takes a key=value string.
Is it possible to pass the file to override? If not, how do I format the string for env vars for different lambdas?
Thanks