News for hackers. Stuff that matters.
Re:AWS CloudShell by gumby on Tuesday December 15, 2020 @12:41PM (#25432659)
I am glad to see this as I hate using a web console to try to get actual work done.

But I have to confess I opened this article half hoping it would be about Lambda support for bare bash scripts. Horrifying, yes, but at the same time...

Re:AWS CloudShell by tidepod12 on Tuesday December 15, 2020 @12:46PM (#25432718)
I imagine you could accomplish that via a Lambda custom runtime. The example function given here is a shell script: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-walkth...
Re:AWS CloudShell by lock-free on Tuesday December 15, 2020 @03:26PM (#25434780)
Back in my day we threw up PHP scripts using apache and called it a day...

But seriously custom runtimes are real bastards to get working.

Re:AWS CloudShell by sten on Tuesday December 15, 2020 @01:14PM (#25433091)
Horrifying sure, but I am curious what is the motivation here. We use more lambdas and for more things than are generally considered kosher... one more couldn't hurt.
Re:AWS CloudShell by gumby on Tuesday December 15, 2020 @01:40PM (#25433412)
Hey, I have written (long ago!) production CGIs in bash. I’m still perfectly comfortable writing bash code but for most things it’s definitely not the right tool for the job.