Module creation guide

This guide explains how to create a module. For detailed documentation see: Module metadata file.

Create a new source module

1pip install cookiecutter
2cookiecutter gh:inmanta/inmanta-module-template

Note

The cookiecutter template also sets up git for the new module. This is a best practice to version control your infrastructure code.

Inside the module the compiler expects a setup.cfg file that defines metadata about the module. Module metadata file provides an overview about the supported metadata attributes.