by sshine · 1y ago · 0 comments
That’s a half-truth. The IaC consulting I take part of is overwhelmed equally by npm and docker/helm dependency hell.
Sure, worms in npm. But just as many things breaking and getting deprecated in IaC land. Bitnami deprecating their charts. Zookeeper operator breaking on newer Linux kernels. Lagoon not respecting resource requests.
“But if you stick to the good packages!” works for any package ecosystem. It’s just that sometimes you don’t choose the packages.
My only counter-argument: sometimes it is cheaper to maintain your own fork of something. Sometimes it is cheaper to make your own thing.
In this article, I'm fairly focused on the Terraform + OpenTofu IaC child module ecosystem in which I'm not aware of anyone who has done that sort of rug pull. I get your point though and that is why I included the "How you should evaluate good OSS" steps towards the end of the article. Hopefully that helps folks pick good packages...
Not just bad FOSS actors, things just fall apart in every ecosystem over time as actors stop contributing.
More dependencies = more problems. Long dependency chains means more dependencies. IaC generally doesn’t have long chains. But you can still depend on a ton of dockerfiles, images, charts, and the same software that gets packaged ends up with CVEs in images rather than at the library import level.