TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Nitric Is Terraform for Developers

32 pointsby tholm10 months ago

13 comments

aduwah10 months ago
My opinion is that these tools for most companies are the perfect footguns.<p>How much time a developer will think about the right instance size, fine tuned IAM permissions, naming conventions or tags? I would wager a substantial amount that most will just copy-paste and get done with it, which eventually leads to the creation of a devops&#x2F;sre&#x2F;platform team to do the refactor and cleanup and we are back to step one.
评论 #41270483 未加载
评论 #41270659 未加载
评论 #41271240 未加载
commercialnix10 months ago
Developers are inevitably going to grant themselves full admin access to everything.<p><pre><code> const imagesBucket = nitric.bucket(&#x27;images&#x27;).allow(&#x27;read&#x27;, &#x27;write&#x27;);</code></pre>
评论 #41269825 未加载
评论 #41270965 未加载
andybak10 months ago
Wait. So who is Terraform for?
评论 #41270981 未加载
评论 #41270982 未加载
评论 #41270576 未加载
thinkmassive10 months ago
CDK is literally terraform for developers:<p><a href="https:&#x2F;&#x2F;www.terraform.io&#x2F;cdktf" rel="nofollow">https:&#x2F;&#x2F;www.terraform.io&#x2F;cdktf</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;hashicorp&#x2F;terraform-cdk">https:&#x2F;&#x2F;github.com&#x2F;hashicorp&#x2F;terraform-cdk</a>
评论 #41270716 未加载
hfysldkfwasdf10 months ago
Pulumi &gt; CDK&#x27;s (TF or CF) &gt; HCL<p>Nitric may work if you fit within its guardrails or golden path, but the stuff I work on never does.
评论 #41270735 未加载
totaa10 months ago
it reminds me of encore<p>i feel like simplyifing is great for early stage, but will be a tedious pain to scale out when you need to
评论 #41270787 未加载
nomdep10 months ago
So, Pulumi?
评论 #41270119 未加载
jbaczuk10 months ago
We already have structure + style + logic in the same file, now we want to add cloud provisioning and cloud configuration? At what point is it too much?
评论 #41270697 未加载
postalrat10 months ago
Frontend developers have been making great tools to render text for a long time. Why are backend developers so slow on adopting the same ideas?
3np10 months ago
&gt; The point here is that while Terraform and similiar technologies have existed for the past decade, providing Ops and Infrastructure teams with the tools they need to cleanly document their infrastructure, application development teams have had access to no such tools in this time.<p>...Don&#x27;t they have access to the same tools, though? And if they don&#x27;t, it sounds more like an internal policy issue or operational inefficiency of whatever org they&#x27;re in? Terraform is Terraform for developers.<p>Besides, I believe the promoted approach is fundamentally misguided.<p>Application code has no business getting involved in the infrastructure it&#x27;s running on. They layers of abstraction should be separated.<p>It&#x27;s fine if your team manages their own Dockerfiles, k8s schemas, helm charts, terraform&#x2F;CF templates or whathaveyou. Cohost them in the same git repo even, if you must. Use all the platform-specific APIs and integrations you want.<p>The application itself should be competetely agnostic to all of that, though, and has no business interacting with any of those APIs. You use common interfaces like environment variables, filesystem, and CLI flags to communicate between upper and lower layers. You do not have your services go and read k8s secrets over API, interact with the container runtime, or make direct API calls to ECS[0], for example. You keep those layers abstracted away from application code. That has nothing to do with the &quot;who&quot;.<p>On a language level, there are _very_ good reasons to prefer a declarative DSL over any turing-complete general-purpose language. Not saying you should use HCL specifically but scripting your infrastructure provisioning in JS doesn&#x27;t seem like a step forward compared to ye olde bash scripts...<p>[0]: I&#x27;m sure you have a valid counter-example. The point still stands in general.
评论 #41270754 未加载
debo_10 months ago
This is an aside, but I find it remarkable when I find anyone still writing on Medium in 2024.
voganmother4210 months ago
So its kinda like cdk(tf)
评论 #41269969 未加载
incognito12410 months ago
Basically, Pulumi
评论 #41270767 未加载