Skip to main content

Massdriver documentation

Deploy infrastructure and applications from versioned bundles, environment by environment.

Platform teams publish IaC as bundles with typed inputs and outputs. Developers compose them into projects. Each environment decides which versions, configuration, access, and approvals reach it, and every change runs as a deployment with the instance’s own credentials and policy.

How the pieces fit​

REPOSITORYPROJECT BLUEPRINTENVIRONMENTSBUNDLEaws-rds-postgresIaC, params schema,connections, outputsRESOURCE TYPEpostgresJSON Schema contractfor what flows betweentypes its outputsCOMPONENTdbaws-rds-postgresCOMPONENTapiaws-ecs-servicepostgresDEVdbapiSTAGINGdbapiPRODUCTIONdbapipromotepromote, approveone instance per component, per environmentDEPLOYMENTprovision, plan, decommissionruns the bundle's IaC withthe instance's paramsRESOURCEprod-dbvalidated by its type,connected downstreamproduces
REPOSITORYBUNDLEaws-rds-postgresIaC, params schema,connections, outputsRESOURCE TYPEpostgresJSON Schema contractfor connectionsadd to a blueprintPROJECTCOMPONENTdbaws-rds-postgresCOMPONENTapiaws-ecs-serviceone instance per componentENVIRONMENTSDEVdbapiSTAGINGdbapiPRODUCTIONdbapipromotepromote, approveDEPLOYMENTprovision, plan, decommissionruns the bundle's IaC with the instance's paramsproducesRESOURCEprod-dbvalidated by postgres, connected downstream
  • Bundles package an IaC module (OpenTofu, Terraform, Helm, or Bicep) with a params schema, the connections it needs, and the resources it produces. Bundle versions are published to a repository.
  • Resource types are JSON Schema contracts for what one bundle hands another. A resource is a deployment's output, such as a database's hostname and credentials, validated against its type.
  • Projects and environments: a project's blueprint holds components, each a bundle added for one use. Every environment of the project has one instance of each component, with its own params, version, secrets, and connections.
  • Deployments provision, plan, or decommission an instance. Each one runs the bundle's IaC with the instance's params and credentials. There is no pipeline to maintain.
  • Continuous delivery moves a change from one environment to the next by release channel, promotion, or fork. Each environment's access policies and approvals decide what reaches it.

Common tasks​

01

Stand up a platform

Pick a catalog, install the official resource types, and build a platform from an empty account or import the one Terraform already runs.

02

Build bundles

Package OpenTofu, Terraform, Helm, or Bicep with a params schema, typed connections, and resource outputs, then publish versions to a repository.

03

Ship changes

Move bundle versions and configuration from one environment to the next with release channels, promotion, forks, and approvals.

04

Run it

Manage state, alarms, event destinations, and who can deploy, propose, or approve in each environment.

05

Automate it

Drive deployments from CI or a terminal, and manage projects, environments, components, and access policies as Terraform.

Learn the fundamentals​

The getting started guides use example bundles from the Massdriver catalog.

  1. Deploy your first bundle: publish, configure, and deploy a bundle.
  2. Connect bundles: pass resources between components.
  3. Create a bundle: build a bundle from existing IaC.
  4. Bundle metadata and schemas: design params schemas and presets.

Community​