Generators

Terraspace ships with a few generators to help you get building modules quickly. The common ones.

terraspace new module NAME   # Generates new module
terraspace new project NAME  # Generates new project
terraspace new stack NAME    # Generates new stack

Here are some additional generators:

terraspace new test example --type module  # Generates new module test
terraspace new helper                      # Generates helper
terraspace new hook                        # Generates hook
terraspace new arg                         # Generates arg

Here’s a cheatsheet for generators. Refer to the cli reference for more docs: terraspace new

We’ll cover the common generators next.

More tools: