This endpoint creates a Module from a VCS repository.
The module's source code directory should follow the
standard module structure.
Scalr extracts various meta information from the module's source:
- It's important to provide each
outputblocks with a meaninful descriptions, as they
will be displayed in a Module and Workspace Variables pages for your internal users.
- README or README.md file will be displayed on a Module page.
- Nested modules from
modules/directory will be searchable and available though the Registry just
like top-level modules.
Modules can be published on both
If neither scope is specified in the request body, the module will be published in the
same scope that the related
vcs-provider is published.