TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

It's Time to Switch to OpenTofu

67 点作者 zgoldberg4 个月前

6 条评论

adamgordonbell4 个月前
Or use code instead of HCL.<p>I joined Pulumi because I believe that using the abstraction and tooling that a proper language allows is the way to go, but anything that&#x27;s not config: CDK, Bicep, TF CDK, etc – is to me a step in the right direction.<p>It&#x27;s not that HCL is bad, and I get that it&#x27;s dominant. It&#x27;s just the same complaint I have with yaml and yaml templating: You will want something more than a config file at some point. Start today.
评论 #42794889 未加载
评论 #42794785 未加载
评论 #42795324 未加载
评论 #42794867 未加载
zgoldberg4 个月前
OpenTofu is now more secure (state encryption), maintainable (early variable evaluation), and powerful (provider iteration) than Terraform. This is the advantage of being truly open source, foundation-managed, and community-driven.<p>Now is a good time to make the switch!
评论 #42795444 未加载
cube22224 个月前
Just to include this in the discussion, here&#x27;s some major features that have been added over the last year (but there&#x27;s a huge amount of small ones too):<p>- End-to-End State Encryption - lets you encrypt your state-file end-to-end, either with a key management system like AWS KMS, or static keys.<p>- Early Evaluation - the ability to parameterize initialiation-time values, like module versions and sources, backend configuration parameters, etc. and keep them DRY.<p>- Provider Iteration - lets you use for_each with providers, e.g. create one provider per region, something that currently requires a bunch of copy-paste, or tools like Terragrunt<p>- -exclude flag - the opposite of the -target flag, letting you skip planning&#x2F;applying certain resources.<p>Probably the best way to see a summary is to check out the release blog posts for 1.7[0], 1.8[1], and 1.9[2], as well as TFA itself. If you&#x27;d like to learn more, I recommend taking a look at the related docs, too.<p>[0]: <a href="https:&#x2F;&#x2F;opentofu.org&#x2F;blog&#x2F;opentofu-1-7-0&#x2F;" rel="nofollow">https:&#x2F;&#x2F;opentofu.org&#x2F;blog&#x2F;opentofu-1-7-0&#x2F;</a><p>[1]: <a href="https:&#x2F;&#x2F;opentofu.org&#x2F;blog&#x2F;opentofu-1-8-0&#x2F;" rel="nofollow">https:&#x2F;&#x2F;opentofu.org&#x2F;blog&#x2F;opentofu-1-8-0&#x2F;</a><p>[2]: <a href="https:&#x2F;&#x2F;opentofu.org&#x2F;blog&#x2F;opentofu-1-9-0&#x2F;" rel="nofollow">https:&#x2F;&#x2F;opentofu.org&#x2F;blog&#x2F;opentofu-1-9-0&#x2F;</a><p>Disclaimer: involved in opentofu
评论 #42795336 未加载
l2dy4 个月前
I&#x27;ve been waiting for <a href="https:&#x2F;&#x2F;github.com&#x2F;opentofu&#x2F;registry&#x2F;pull&#x2F;824">https:&#x2F;&#x2F;github.com&#x2F;opentofu&#x2F;registry&#x2F;pull&#x2F;824</a> (&quot;Revert commit that removed Russian providers&quot;) to be resolved, but it seems to have stalled.<p>Open source does not work as I envisioned, I guess.
评论 #42794980 未加载
iksn4 个月前
Naming Spacelift, Env0, Scalr etc as suppprters without mentioning they had no other choice than to move away from Terraform feels like its missing some context. I would assume they could&#x27;ve licensed it from HashiCorp but for a huge sum.
评论 #42796241 未加载
theflyinghorse4 个月前
I haven&#x27;t heard of OpenTofu till today. Will give it a shot.