frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Terraform for *Local* Dev Infra

https://runharbor.com/blog/2025-09-30-terraform-for-high-fidelity-local-dev-infra
1•18nleung•1h ago
Author here with yet another solution for local dev — let me know your thoughts, would love to trade notes.

In brief:

Our Docker Compose local dev setup started to break down once we had to model more complicated production behavior locally – things like table-specific Postgres roles for audit logs and dynamically provisioned databases per-clinical-trial. We were drifting toward a bespoke Bash mess to keep dev and prod in sync.

Our core idea was instead to embrace Terraform in the local dev environment too. We were already using Terraform heavily in prod, and Terraform's robust provider ecosystem meant that we could e.g. substitute Docker containers for RDS and MinIO for S3 without deviating too far from our production configuration.

The really fun part is how we use Terraform to handle dynamic provisioning, which we need for isolated, per-clinical-trial databases. The way we do it in prod is by giving each clinical trial its own, isolated Terraform state, stored in a cloud storage bucket. By writing an equivalent local Terraform config for this provisioning step, we enable the app to run the same `terraform apply` command as it does in prod to locally to spin up a new database, with the individual state for that new db stored in a local MinIO bucket... which is itself created by the original `terraform apply` that sets up the initial local dev infrastructure.

Altogether, Terraform gives us a super high-fidelity local environment that lets us test complex application behavior and infrastructure logic without the full overhead of spinning up a local k8s cluster (which is what I imagine the next best alternative might be?). It's readable, declarative, and required no new tooling on our side since we were already using Docker and Terraform anyways.

Curious to hear how other folks are managing complex local dev setups, especially if you're not on Kubernetes!

See How E.V. Road Trips Went from Impossible to Easy

https://www.nytimes.com/interactive/2025/09/29/upshot/ev-chargers-road-trip.html
1•trauco•1m ago•1 comments

The Photo Map Tile Pareto Front

https://lnar.dev/blog/photo-tile-pareto/
1•mlunar•1m ago•1 comments

Building Without Bodies

https://www.ft.com/content/362d4eb2-ac10-4b76-960a-a11a18495851
1•johntfella•3m ago•0 comments

Sora 2 rips off HOME – Resonance, less than a day after it is released

https://bsky.app/profile/igerman.woof.ing/post/3m23e4eqa622u
1•igmn•3m ago•0 comments

Restate Cloud Is Open to Everyone – Build Durable Workflows and Agents Today

https://www.restate.dev/blog/announcing-restate-cloud-public
1•stsffap•4m ago•1 comments

Show HN: Paint any word on your GitHub Commit Activity Chart

https://github.com/joshi4/wordart
1•joshi4•5m ago•0 comments

FP64 Floating-Point Emulation in INT8

https://arxiv.org/abs/2509.23565
1•matt_d•6m ago•0 comments

Show HN: Eventvisor – govern, transform, filter tracked events via remote config

https://eventvisor.org/
1•fahad19•7m ago•1 comments

Are there any CLI-only tools that are monetized, no web UI at all?

1•las_nish•7m ago•1 comments

Kinetic Locking of PH-Sensitive Complexes for Responsive Polymer Networks

https://pubs.acs.org/doi/10.1021/jacs.5c09897
1•PaulHoule•7m ago•0 comments

Greg Kroah-Hartman explains the Cyber Resilience Act for open source developers

https://www.theregister.com/2025/09/30/cyber_reiliance_act_opinion_column/
2•rntn•11m ago•0 comments

1Password can now manage ".env" files and secrets

https://developer.1password.com/docs/environments/local-env-file/
2•philjii•13m ago•0 comments

Dubernetes: Vibe Coding a Dumb Container Orchestrator

https://blog.esc.sh/vibecoding-dubernetes/
1•InitEnabler•15m ago•0 comments

ImageMM: Joint Multi-Frame Image Restoration and Super-Resolution

https://iopscience.iop.org/article/10.3847/1538-3881/adfb72
2•croes•15m ago•0 comments

I created an OS prototype running in a single HTML File Using ONLY AI

https://github.com/KyrKat89/MeowOS
1•KyrKat•16m ago•1 comments

An archive of Spamusement.com (which went offline in 2020)

https://www.spamusement.cc
1•kjmr•17m ago•0 comments

Question: Resources for Teaching Children

1•gruszczy1•18m ago•0 comments

'Reading Rainbow' returns after nearly 20 years with new host

https://apnews.com/article/reading-rainbow-reboot-mychal-threets-9c03ba3ab31e1cc5ba8f869b08570290
2•geox•19m ago•1 comments

Go-pugleaf data snapshot 2025-09-28: gmane.* – size: 2.1T

1•newhuser•20m ago•0 comments

Show HN: AI powered text editor with commands that let you create anything [video]

https://www.youtube.com/watch?v=e9JBYP0_fJA
2•qflop•21m ago•0 comments

Diff Algorithms

https://flo.znkr.io/diff/
1•znkr•22m ago•0 comments

Recall Me Maybe – FT Drama

https://www.ft.com/video/a4d2ba19-051e-47c5-98ae-c27c59f1b3f0
1•petethomas•22m ago•0 comments

Vercel Controversy: Ethics, Backlash, and a Migration Guide to Netlify

https://old.reddit.com/r/nextjs/comments/1nueacb/vercel_controversy_ethics_backlash_and_a/
2•senti_sentient•22m ago•0 comments

An Agent Is Nothing Without Its Tools

https://www.rkayg.com/blog/agents-and-tools
2•rkayg•22m ago•0 comments

My First Complete Game

https://laladrik.xyz/blog/myFirstCompleteGame/
3•laladrik•22m ago•1 comments

Russian blogger has iPad M5 month earlier than official release [video]

https://www.youtube.com/watch?v=XnzkC2q-iGI
1•xezzed•23m ago•0 comments

Bevy 0.17: ECS-driven game engine built in Rust

https://bevy.org/news/bevy-0-17/
2•GenericCanadian•23m ago•1 comments

The Human/AI Frontier: A Conversation with Bogdan Grechuk

https://www.surgehq.ai/blog/the-human-frontier-bogdan-grechuk
1•gk1•23m ago•0 comments

Sendit sued by the FTC for illegal collection of children data

https://www.bleepingcomputer.com/news/legal/sendit-sued-by-the-ftc-for-illegal-collection-of-chil...
1•mikece•23m ago•0 comments

How to FOIA, with an Example from Hacking History

https://realhackhistory.org/2025/04/07/how-to-foia-with-an-example-from-hacking-history/
2•mooreds•25m ago•0 comments