Module Generator

You can use terraspace new module to create the a starter module structure. Example:

$ terraspace new module example
=> Creating new module called example.
      create  app/modules/example
      create  app/modules/example/main.tf
      create  app/modules/example/outputs.tf
      create  app/modules/example/variables.tf
$

For the difference between a module and a stack, refer to Project Structure

More tools: