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.
[ Parent
| on HN ]
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.
Definitely not subpar. Cloudformation is an incredible service. I’ve used it to deploy thousands of stacks. It just works.
does it rollback in the face of failure? /s
Re:Terraform 0.12
by reilly3000 on Wednesday May 22, 2019 @11:18PM
(#19988077)