Module Registry
IaCM Module Registry is currently pending release and will be available soon!
The Harness IaCM Module Registry is a centralized repository where you can publish and manage versions of pre-built infrastructure modules. These modules, which include components like virtual machines, databases, and networks, can be reused by different teams, streamlining infrastructure management and ensuring consistency across projects.
Prerequisites
Before you begin configuring module registry, ensure that you have:
- Access to your OpenTofu or Legacy Terraform environment via Harness connectors.
If you are using Harness to connect to your code repository, you can continue without further action.
However, if you are connecting via a delegate, ensure the delegate version is 24.10.84200
or later
Register a module
Follow the steps in the guide below to register a new module.
- Interactive guide
- Step-by-step
- Login to Harness.
- Select Account settings, then select IaCM Module Registry from the Account-level resources section.
- Click on New Module and fill in or select the following fields:
- Name
- Provider
- Git Provider option
- Repository connector
- Git Fetch type
- Branch/tag
- Click on Save
Your repository connector will pull the module details to store your new module.
Once saved, the module will now appear in the Module Registry, ready for use in projects.
Review module settings
Harness pulls various details from your module and makes it easy to review them.
The Sync button checks your registered module in Harness against the latest release in your repository and configured connector branch. If a newer version exists, it will sync it.