Hello, my name is JP.
Programming Dogma Is Exhausting
Recently I came across the above tweet by @bryanl which I wholeheartedly agree with. Then it got me thinking about what exhausts me in the space of software engineering: pedantic arguments like the one above from @jbogard.
YAML & JSON are data structures. They're inherently flexible. They contain information which inform programs about many things, including infrastructure. To gate-keep "Infrastructure as code" in this way is silly to me.
IMO there's no place for that kind of thinking in our line of work - which to me is the main problem with this mindset: It's alienating, unproductive & exhausting.
Looking briefly at Mr Bogard's tweets I would assume he uses Azure Resource Manager since he tweets about Azure cloud architecture quite a bit. So let's take a look at Microsoft's Infrastructure as Code document around Azure Resource manager.
In the above linked document there are references to using JSON, Terraform, and yes, YAML.
Figure 10-17 shows a YAML snippet that lists the version of Azure CLI and the details of the subscription. Note how Azure CLI commands are included in an inline script.
It appears Microsoft eludes to YAML being "Infrastructure as Code" but what do they know? /s