How is OpenTofu Performing Compared to Terraform?

0
17
Asked By CuriousCat123 On

I'm curious about how OpenTofu has been doing in comparison to Terraform. Has it established itself as a viable alternative? I don't use infrastructure as code in my current job, but I'm interested in understanding how the landscape has evolved recently.

5 Answers

Answered By SwitchingSavvy On

I switched to OpenTofu right after CDKTF was discontinued and I’m really liking it. The `for_each` feature helps maintain control flow better than CDKTF used to. Plus, the state encryption is a bonus! It’s been a straightforward switch with no major rewrites needed.

Answered By NextGenMigration On

We had a big bill from HashiCorp and decided to migrate to Terrakube over the weekend. So far, I'm really pleased with how everything has turned out. OpenTofu really is a suitable alternative.

Answered By CodeCrafter On

Using `for_each` on providers is a major game changer! It keeps everything DRY and uncluttered.

NewbieDev -

I don't quite understand that. Could you give me a quick example?

RefinedCoder -

It’s also nice how you can use variables and locals to determine the backend configuration. Overall, OpenTofu responds to a lot of what the community has been wanting for years, which wasn't part of HashiCorp's vision.

Answered By EnterpriseEngineer On

We still use Terraform at work but are trialing OpenTofu. I'm impressed with the use of target files; it simplifies targeted applies which used to be a hassle in CI environments.

PipelinePro -

That sounds helpful! How are you finding your release pipelines with OpenTofu?

Answered By TechieTinker On

OpenTofu has a significant advantage over Terraform when it comes to encrypting local state files, which is great for environments like bootstraps where storage needs plenty of security.

SecureCoder88 -

So, if it’s encrypted, does that mean I can keep my backend in source control instead of a bucket? That would make my IaC completely self-contained and not tied to a cloud provider for storage.

CloudCritic -

That doesn’t make sense if you’re working with public cloud! If you don’t trust the provider, just use your own customer-managed keys.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.