If you have let’s say a massive developer organization, some level of abstraction so you don’t have to manage provisioning servers/hosts and invest time in undifferentiated (no or low value add) activities is great.
The cost of these function as a service solutions is very high though, even in those scenarios, at least from my own experience.
A lot of people rush to these solutions and CTOs blindly sign off without realizing it’s just added tech debt.