News for hackers. Stuff that matters.
Re:Terraform 0.12 by techntoke on Wednesday May 22, 2019 @08:47PM (#19987225)
Agreed about CF. AWS puts a huge emphasis on CloudFormation when they know it is sub-par. Ansible is pretty cool too because you can easily convert between YAML/JSON for CF, and add a lot of flexibility based on variables and other things such as error handling that you can't do with Terraform.
Re:Terraform 0.12 by joseph on Wednesday May 22, 2019 @10:13PM (#19987694)
I don't agree it is subpar. I have a fairly long list of reasons for preferring CF over Terraform. I agree on combining CF with Ansible though. My recipe is to wrap a CF template in an Ansible role. It makes for a versioned chunk of automation that composes well with my other roles, including ones that are not CF based. Plus I can do non-CF setup tasks using any Ansible module, and even run tests, to get pretty much full end-to-end automation for a given stack. I haven't found a way to get the same degree of power and flexibility from Terraform without resorting to writing custom plugins.
Re:Terraform 0.12 by deboflo on Wednesday May 22, 2019 @09:58PM (#19987626)
Definitely not subpar. Cloudformation is an incredible service. I’ve used it to deploy thousands of stacks. It just works.
Re:Terraform 0.12 by mirceal on Wednesday May 22, 2019 @11:11PM (#19988047)
does it rollback in the face of failure? /s
Re:Terraform 0.12 by reilly3000 on Wednesday May 22, 2019 @11:18PM (#19988077)
Re:Terraform 0.12 by mirceal on Wednesday May 22, 2019 @11:21PM (#19988101)
i know, hence the /s

it was a jab at Terraform’s behavior