←back to thread

52 points birdculture | 1 comments | | HN request time: 0.194s | source
Show context
jamesbelchamber ◴[] No.46182053[source]
"Don't Repeat Yourself" is a great rule of thumb which, at least in writing Terraform configuration, became absolute tyranny. Strange webs of highly coupled code with layers of modules, all in an effort to be DRY - almost everywhere I've seen Terraform.

Trying to explain why a little duplication is preferable to bad abstractions, and specifically preferable to tightly coupling two unrelated systems together because they happened to sort-of interact with the same resource, was endless and tiring and - ultimately - often futile.

replies(6): >>46182179 #>>46182504 #>>46182524 #>>46182757 #>>46182935 #>>46183063 #
1. hbogert ◴[] No.46182524[source]
you can shorten to:

> writing Terraform configuration, became absolute tyranny.