Hacker News new | ask | show | jobs
by aodin 780 days ago
Although there is significant overlap between the two, I prefer Terraform for resource provisioning and Ansible for resource configuration.
2 comments

Same, but now IBM will be able to merge them to create Terrible (or Ansiform). ;)
I like the joke. But a better integration between terraform and ansible for config would be pretty neat.
How would you imagine that working? I think a lot of people would love that, but I have seen very little specific so far.
Same. I view them like peanut butter and jelly. Terraform is my preference for new stuff and everything that isn't a stateful VM, and Ansible is my preference for managing manually created resources (which I try very hard to avoid, but always end up with some) and for managing VMs (even VMs created by Terraform). For stateful services (like a database cluster) Ansible is so much better it's not even a question, and for cloud resources (s3 buckets, managed databases, etc) terraform is a much better approach. I've never felt the two were really competitors even though there is some gray-area where they overlap.