Skip to content

Add new addon module

nimble-wiki-bot edited this page Aug 31, 2023 · 3 revisions

To add a new addon or module, follow these steps:

  1. Navigate to the ./src/generators folder in the project directory.
  2. Create a new folder depending on the type of the addon/module you want to add:
    • For addons, create a new folder in the ./src/generators/addons directory.
    • For the core Terraform files, create a new folder/file in the ./src/generators/terraform directory.

Inside the newly created addon/module folder, you can include the code required to generate the templates.

  1. Navigate to the ./templates folder at the same level as the src folder in the project directory.
  2. Add the template folders/files for the addon/module that you are adding inside the corresponding folder in the ./templates directory.

Note!
Before adding a new addon/module, it is recommended to check the existing ones for reference.