News for hackers. Stuff that matters.
Re:Terraform is not the golden hammer by pvtmert on Sunday September 19, 2021 @09:11AM (#28584064)
eg. AWS ChatBot not available in TF yet. TBH AWS haven't even added it to their Go SDK. So, I cannot blame TF. But anyway that's one of the inheret problems of TF plugin system.

Compare to kubectl. Where you can write plugins in bash/shell and mark with execute bit, put it in somewhere in your $PATH as kubectl-blabla and use it as "kubectl blabla".

Re:Terraform is not the golden hammer by CSDude on Sunday September 19, 2021 @09:31AM (#28584195)
It's not fair to compare imperative simple shell scripts with the things Terraform does. It has schema validation, state comparison, retries, failure handlers etc.

Also, just as you can write extensions to kubectl, you can write your own provider in Terraform if it does not exists. See https://registry.terraform.io/modules/waveaccounting/chatbot...

Also, Chatbot does not have a public API, that's why, it's only configured via Cloudformation. So the expectation is not fair either.

I've seen Cloudformation getting features years later. i.e

2021 - https://aws.amazon.com/about-aws/whats-new/2021/05/amazon-dy... 2015 - https://aws.amazon.com/about-aws/whats-new/2015/07/amazon-dy...

Re:Terraform is not the golden hammer by jen20 on Sunday September 19, 2021 @09:37AM (#28584233)
NAT Gateways is another notable feature that took CloudFormation months yet Terraform had on day 1.

If you can configure something via CloudFormation you can integrate it via Terraform et al also, since they have resources representing CloudFormation stacks.

Re:Terraform is not the golden hammer by lincler on Sunday September 19, 2021 @03:37PM (#28587210)
This! Is not like you can't go beyond what Terraform offers by default. Running CloudFormation stacks from Terraform is a neat way of solving missing apis/integration. And that's exactly what my team did when Terraform was missing a lot of lambdas functionalities. We just declared the CloudFormation Stack for lambdas and then call it from Terraform.
Re:Terraform is not the golden hammer by jen20 on Sunday September 19, 2021 @09:36AM (#28584222)
There’s no reason you can’t do something similar with Terraform either - plugins speak GRPC and thus could be implemented in Python, with Node.js or with Rust.

However, if AWS have not published metadata for a given service to be used across their various SDKs, it’s hard to take that service particularly seriously, so I’m not sure I’d bother with this.