At the end of the day, the UI on a Unix server was always shell based. That was just the best way to configure a server. (And, in some way Infrastructure as Code is an evolution of the shell scripts a unix admin would use.)
Linux won on the server side because they got just as right as Unix. The crappy UI (windows) was the one that didn't work with shell scripting, didn't work with ssh, etc.
IaC is really just declarative shell scripts. It's a different language, but it's often just kicked off by some bash in a git action.
Once you have git and actions, I don't think that the language really matters all that much.