I suspect you mean that people would prefer to spend a lot of money on fuel rather than moving. Maybe they feel that overall moving would be a quality of life decrease.
That's not a trap, it's a preference.
"Just move" or "just get a new job" is great advice for a highly mobile household where the workers have skills in high demand (e.g. young tech workers with no dependents).
For a great many people, "just move" is terrible advice. Moving is financially burdensome, socially disruptive, at times irresponsible, and at other times impossible. Not everyone has the option of just picking up and moving to a place that's more economically viable. They may not have the money to move. They may have obligations tying them to a particular geographical area. There might be legal barriers preventing them from moving.
"Just get a new job" is similarly terrible advice for most workers, for whom a job is not an easily disposable or replaceable thing. It's nice to work in software, where anyone with a reasonable network can organize half a dozen interviews next week with close to no effort. Most people aren't in software, though. A friend with a STEM PhD recently spent 18 months looking for a new job. Now think about people who have less desirable education or skills. "Just get a new job" is not advice that they can act on easily; certainly not quickly in response to rising fuel prices.
I was going to write a long thing here about autonomy and economic circumstances, but I can't really be bothered. In short: people really don't like having their entire lives disrupted, and we shouldn't be building a society that expects that of the average person.
Does this actually solve a problem? You still need to implement the lambda interface. so as someone who hasn’t used them, containers just seem to replace the zip file format with no actual portability benefit
Speculative, but had we used containers from the start we would likely have built "fatter" Lambdas running full web servers with an extant web framework (someone else in this thread mentioned Flask - we don't use anything like that, we have one Lambda per... function, and our functions just consume the raw Lambda event).