Return of AWS Lambda support in ColdFusion 2021 Update 2...well, kinda
Note: This blog post is from 2021. Some content may be outdated--though not necessarily. Same with links and subsequent comments from myself or others. Corrections are welcome, in the comments. And I may revise the content as necessary.Some folks may have heard or noticed that update 2 of CF2021 has returned "CF AWS Lambda" support. And while I was delighted to hear that news, my excitement dimmed when I saw what the "returned feature" was about. (As a reminder, the feature had been removed shortly after the initial release of CF2021, in news I shared then.)
TLDR; While the original CF AWS Lambda feature (removed shortly after the release) let you CREATE AWS Lambda/serverless packages written in CFML, the feature as "returned" to us now in update 2 only allows you to CALL AWS Lambda functions from within CFML. That's QUITE a difference.
And sure, there's value in being able to call AWS LAMBDAS in cfml, as I'll note. (And yes, it's already possible to execute cfml in AWS Lambdas in Lucee via Fuseless, as I also note later.) I just am really hopeful that at some later point the original capability will be returned.
Below, I share how I came to understand things..including more on what was possible before, what we were even teased by over the summer in the prerelease of CF2021 update 2, and then finally what the current capability allows.