Assistance troubleshooting sam local invoke
See original GitHub issueI’m trying to use sam local invoke to simulate an S3 event. When I try and run the sam local invoke command "sam local invoke -e event.json --debug-port 5858 ExampleFunction"
I get an error message “unable to use container host config override file from ‘$HOME/.config/aws-sam-local/container-config.json’: HOME env variable is not set”
Where should the HOME environment variable be set? I assume I’m doing something silly…
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:25 (7 by maintainers)
Top Results From Across the Web
Assistance troubleshooting sam local invoke #82 - GitHub
I'm trying to use sam local invoke to simulate an S3 event. When I try and run the sam local invoke command "sam...
Read more >sam local invoke - AWS Serverless Application Model
The sam local invoke command is useful for developing serverless functions that handle asynchronous events, such as Amazon Simple Storage Service (Amazon ...
Read more >Invoking AWS Lambda functions locally using AWS SAM CLI
The command to invoke Lambda locally is sam local invoke and -e flag is used to specify the path to the Lambda event....
Read more >sam local invoke - Amazon Serverless Application Model
The sam local invoke command is useful for developing serverless functions that handle asynchronous events, such as Amazon Simple Storage Service (Amazon S3) ......
Read more >Issue with AWS Sam invoking local lambda - Stack Overflow
Please be sure to answer the question. Provide details and share your research! ... Asking for help, clarification, or responding to other answers ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We have a fix for this coming. The development work is done and currently awaiting code review (see the above referenced pull request).
I had the same issue, I added HOME in environment variable and pointed it to “C:\Users<username>”