7 ms·
Although there is significant overlap between the two, I prefer Terraform for resource provisioning and Ansible for resource configuration.
by aodin 2y ago
Although there is significant overlap between the two, I prefer Terraform for resource provisioning and Ansible for resource configuration.
- DerpHerpington 2y agoSame, but now IBM will be able to merge them to create Terrible (or Ansiform). ;)
- rahkiin 2y agoI like the joke. But a better integration between terraform and ansible for config would be pretty neat.
- janosdebugs 2y agoHow would you imagine that working? I think a lot of people would love that, but I have seen very little specific so far.
- freedomben 2y agoSame. 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.