I am using VSCode to develop, test AWS Lambda functions. I could not find any help on how to set "environmentVariables": {} in .aws/templates.json file, so that my lambda function picks them up.
aws-toolkit-vscode group provided me the answer on their github issue board. Go to this link on how to set environment variables.