Re:Ask HN: What is the real difference between Terraform and...
by lawik on Tuesday April 28, 2020 @07:02AM
(#23005757)
How does the coverage of APIs compare. Just AWS is a gigantic set of APIs. I see most of what I'd need in the Ansible Module Index but it doesn't seem like it covers all that is available.
[ Parent
| on HN ]
Re:Ask HN: What is the real difference between Terraform and...
by user5994461 on Tuesday April 28, 2020 @08:51AM
(#23006450)
Ansible has everything that's needed to automate instances, security groups, ELB, S3, RDS and few more things. I automated all the infra for a startup mainly with ansible (tens of services and a hundred hosts).
Terraform has better support for some static things, mostly VPC, routing tables, gateways. I've had infra retrofitted in terraform but honestly it's more for the show and as a documentation. Low level needs only be setup once and it's always been done manually forever ago.
If you were working around 2014-2017, both tools and many AWS services were new. There were significant gaps in support as well as a few bugs. Had to run from the beta build regularly. It is much better nowadays.
Re:Ask HN: What is the real difference between Terraform and...
by akvadrako on Tuesday April 28, 2020 @07:41AM
(#23006017)
Terraform has way more coverage. I used ansible for aws a couple years ago and needed to rewrite many of the modules myself.
Tracking AWS apis is a fulltime job and ansible for clouds just isn’t popular enough.
Re:Ask HN: What is the real difference between Terraform and...
by gazoakley on Tuesday April 28, 2020 @09:13AM
(#23006603)
Unfortunately this is true - the Terraform AWS provider has thousands of PRs closed (and hundreds still open) as proof. Nevertheless, things seem to get support quicker in Terraform than in CloudFormation.