Hacker News new | ask | show | jobs
by j_kao 1316 days ago
This is a great release! Now we have a way to share code between our CI and Terraform (we use CDKTF).

Imagine this scenario:

1. You onboard new developers and their on-boarding task is to add their name and public key to a DEVELOPERS.ts constants file

2. git submodule update your CDKTF repo and spin up a new dev box / playground for them to use

3. git submodule update your CI scripts and now your Dagger repo/definitions can deploy to said dev boxes

All with one source of truth (DEVELOPERS.ts), type-safety, and version-control!

Not to mention, if you wrote your server code in TypeScript, there's a lot of options here.

The great part is you can do this in any of the matrices of languages that are shared between these tools.