Skip to content

How it works

  1. Author — Subclass Stack in Dart (final class XxxStack extends Stack) using curated google_* factories from terradart_google.
  2. Synthesizestack.writeTo('tf-out') writes standard *.tf.json under your output directory. (Use stack.synth() if you want the SynthResult in memory without writing to disk.)
  3. Apply — Run terraform plan and terraform apply with your existing state backend.
  4. Hand off — Export typed Dart constants for apps (Firebase Functions, Cloud Run jobs, etc.) so dart analyze catches drift at compile time.
  • Not a Terraform replacement — state and apply stay in Terraform.
  • Not multi-cloud yet — Google provider only.
  • Not a constructs framework in the pre-alpha cycle.

See README — Non-goals for the full list.