Create a Blueprint

Create blueprints by composing multiple packages into complete infrastructure solutions.

For a full conceptual overview of blueprints -- including the web UI wizard, inputs, outputs, and source-based packages -- see Creating Blueprintsarrow-up-right in the docs. You can also browse published blueprints in the catalogarrow-up-right.

Prerequisites

  • Bluebricks CLI installed

  • Authenticated (bricks login)

  • Existing packages to compose

Quick Start (CLI)

  1. Initialize a blueprint:

    bricks blueprint init
  2. Add packages:

    bricks blueprint add @bluebricks/terraform_aws_vpc
    bricks blueprint add @bluebricks/terraform_aws_subnet
  3. Configure dependencies by editing bricks.json -- use Data.* references to wire package outputs to inputs.

  4. Publish the blueprint:

    bricks blueprint publish

Key CLI Commands

Dependency Resolution

Bluebricks uses implicit dependencies through Data.* references to build a DAG of package execution order.

The Data.vpc_main.vpc_id reference means subnet_web depends on vpc_main. Bluebricks executes vpc_main first, then subnet_web.

See also

Last updated

Was this helpful?