While troubleshooting my AWS Lambda function (built as a .NET 8 Minimal API), I find myself needing to navigate via CloudShell to the directory which contains my Lambda.
Specifically, the error I’m seeing is:
/var/runtime/bootstrap: line 10: [: missing `]’
And my thinking is that I could simply navigate to the /var/runtime
folder and cat
the bootstrap
file to see what it contains.
But since I am a relative newbie with AWS, I have no idea where this would be within the overall directory tree. I scanned their CloudShell dcumentation to no avail.
But I’m assuming this is a trivial question for those of you who are AWS professionals.
Within CloudShell, how do I navigate to my Lambda function’s content folder?