Skip to content

Instantiate a Bundle via CLI ​

Prerequisites ​

Steps ​

  1. Scaffold
sh
terramate scaffold
  • Select a bundle (local or from remote collections)
  • Fill in requested inputs
  • The instantiation file is written to the path defined by the bundle’s scaffolding config
  1. Generate
sh
terramate generate
  • Creates missing stacks defined by the bundle
  • Generates Terraform/OpenTofu code into those stacks

Single-command alternative ​

sh
terramate scaffold --generate

This scaffolds the bundle and runs terramate generate in one step.

Expected result ​

  • New bundle instantiation file (HCL/YAML)
  • Generated code in the target stacks, ready for plan/apply with your existing tooling