Core concepts

The few Facets terms you need to read the rest of the docs: project, blueprint, environment, module and release.

Learn five terms first: project, blueprint, environment, module and release. A project's blueprint is built from modules, and each release deploys it to one environment.

The concepts to learn first

Two more come with them: a resource is one item in a blueprint, and an override is one environment's change to it.

  1. used as resources in a
  2. deployed to each
  3. changed through a
  4. produces
  5. Running
    InfrastructureReal resources in your cloud account or Kubernetes cluster

Project

A project holds one blueprint and the environments deployed from it. There's usually one per product, such as payments.

Blueprint

A blueprint lists a project's resources, their settings and how they connect. It lives in Git, where each change made in the web UI is a commit. Each release generates the environment's Terraform from the blueprint and its modules (Infrastructure Blueprint).

Resource

A resource is one module in a blueprint, under a name you give it, written as type and name, such as postgres/main-db (Types of Resources).

Resources connect through each other's outputs, so a service reads its database's address without anyone copying it (Secrets and variables).

Module

A module is a reusable building block: Terraform plus a facets.yaml file that declares its settings, inputs and outputs (Modules).

Three parts name it, as in postgres/aws-rds/1.0, Postgres on Amazon RDS: intent (what it provides), flavor (how it's built, such as aws-rds, gcp-cloudsql or kubeblocks) and version.

Environment

An environment is one running copy of the blueprint, such as staging or production, in a cloud account or Kubernetes cluster you've linked.

An override changes a resource's settings in one environment only, like 10 replicas in production (Overriding Resources).

Release

A release applies changes to one environment: it plans the change, waits for approval where your team turned it on, then applies it (Releases).

Terms you'll meet later

Project type, dependent environment, resource group and Praxis.