News for hackers. Stuff that matters.
Re:Terraform 1.0 by stevehawk on Tuesday June 08, 2021 @12:25PM (#27437308)
it took 5 years to get that useful for_each for modules though

so I'd imagine some people waited long enough that they moved on to better tools.

Re:Terraform 1.0 by acdha on Tuesday June 08, 2021 @01:09PM (#27437894)
What better tools do you have in mind? Most of the people I know in the space have been moving _to_ Terraform, although CDK has improved enough over CF to be appealing for people who are all in on Amazon.
Re:Terraform 1.0 by thayne on Tuesday June 08, 2021 @01:37PM (#27438307)
"better" is subjective. But Pulumi fixes a lot of the pain points of terraform for me.
Re:Terraform 1.0 by staticassertion on Tuesday June 08, 2021 @01:47PM (#27438464)
Pulumi has been such a breath of fresh air. It is the only tool that actually feels like it encompasses "infrastructure as code".
Re:Terraform 1.0 by MehdiHK on Tuesday June 08, 2021 @02:59PM (#27439352)
Terraform CDK is a thing too, if you want to go beyond AWS.
Re:Terraform 1.0 by asenchi on Tuesday June 08, 2021 @01:40PM (#27438362)
for_each is an anti-pattern for reliable Terraform IMO. Not sure it was worth the wait and there isn't much out there that can compare with the simplicity of Terraform.
Re:Terraform 1.0 by devonbleak on Tuesday June 08, 2021 @01:45PM (#27438431)
WAY more reliable than count which would do screwy things like rename a bunch of stuff and delete the last item if you removed an item from the middle of a list.

Complex architectures and reusable module encapsulation require a bit more complexity than HCL1 was capable of describing IMO (and apparently the O of most of the Internet). That doesn't necessarily make it less reliable.

Could I describe my infrastructure "reliably" just using raw resources with no loops? Sure but that sounds like a nightmare to both build and maintain.