At work we're moving from one cloud provider to another, and the new cloud provider is pretty much "scripting only" for administration.
Trying to work through the certification materials for said cloud provider, and it's literally got me feeling like I want to jump off a cliff due to their confusing syntax, and general wonkiness. At least with Linux, there's man pages, and the -h --help, etc. flags
So, to get to my point, how are non-developers making the switch to this "infra as code" paradigm without giving themselves a stroke?
And you spend half your time wondering, "who would allow such a thing to exist like this, where is the pattern?"
This just further erodes at the stack of items you hold in your head while trying to process all the edge cases and other unexpected crap.
One thing though, and I have no idea if relevant, but many people get anxious or struggle because they don't breath out enough.
Especially when a little confronted in some way, they unconsciously keep on topping up on breath without fully breathing out.
Then they find they can't breath in enough, a little panic starts and goes from there.
The number of people I have come across that were "topped up" like this is amazing, and many did not even realise until it was pointed out to them.
Three deep, push out breaths, and start again - fresh oxygen, room to breath, often calming and feels a whole lot better.
Treat mistakes as learning process
Treat errors as a tool
Treat difficult workmates and bosses as children
Treat scripts as writing stories for computers in different language.
If it affects you physically, it may be stress. Try to think that the whole process, whether it results in a good thing or a bad thing, is actually a progress.
There are indeed some frustrating part in scripting, unclear library docs, no static typings, slow feedback loops.
Keep in mind your end goal, being sysadmin right now is where you are and maybe a stepping stone. Do it one by one. Take a step back, calm yourself, see what's around you and take some steps to easen the pain and achieve your goal, whatever that is.
The industry is trending towards AWS + “the cloud” because people who know how to code are providing themselves the tooling required to bypass traditional IT.
It is just exercising your short term memory that hurts your brain and causes all that stress and you’ll get better. Soon all those layers of abstraction and the way they relate will be more muscle memory. Like driving. You’ll “glance at your mirrors” when merging and it won’t seem so stressful. It just takes time and practice
Also, stackoverflow is man pages for programmers
It might "physically hurt" if you aren't really comfortable with the language, too. I've found this especially true with Bash, as I just don't like the syntax, so you might be trying too hard to understand it.
Anyways, you should have fun developing at one point. Good luck :D