CodefaceModules & Templates

Modules & Templates

Reusing infrastructure patterns with the module library and built-in blueprints.

Updated November 20261 min read

The Templates section (labeled Module library in the app) is where you reuse infrastructure patterns instead of rebuilding them from scratch every time.

Built-in blueprints

Codeface ships a set of built-in blueprints for common patterns — drop one onto the canvas as a starting point and adjust it to fit, the same as any other resource.

Your organisation's module catalog

Business accounts can author and publish their own Terraform modules into an org-specific catalog. Once published, a module shows up alongside the built-in blueprints and can be dropped onto any environment's canvas as a single node — Codeface treats it as a first-class part of the design, not an afterthought.

A module instance is configured through its own input variables, so the same module definition can be instantiated differently in each environment — for example, a smaller instance size in Staging than in Production.

What to know about modules on the canvas

  • A module node generates a real Terraform module block and creates real resources when applied — it isn't a visual-only grouping.
  • Because a module's internals are defined once and reused, Codeface's visibility into drift and policy checks is at the module-instance level rather than into every resource the module creates internally. Keep this in mind for modules holding anything security-sensitive.
  • Versioning a module (publishing an update) doesn't retroactively change instances already on a canvas — each instance keeps the version it was created with until you explicitly update it.

Permissions

Creating or editing modules in your organisation's catalog follows the same IaC-editing permission as the canvas — Developer role or above. See Account Types & Roles.

Previous
Resource Catalog
Next
Terraform Code View