Blueprints (bprint)
Blueprint (bprint) command enables inclusive management of Atomic Infrastructure™ blueprints and artifacts. See Quick Start for a step-by-step guide.
Usage
bricks bp [flags]
bricks bp [command]Aliases
bprint, blueprint, bpAvailable Commands
add
Adding a registry-saved blueprint to the blueprint available in the working directory.
Help information for blueprint add
Usage:
bricks bprint add [package] [flags]
Flags:
--props string A pointer to a JSON file that include the properties to associate with the package.
--props-file string A JSON string of properties to associate with the package. This way a IaC turning opinionated.
--version string Package version.
Global Flags:
--config string config file (default is $HOME/.bricks/config.yaml)
-h, --help Print Help message for Bricks CLIExample
add-repo
Adding remote git repository URL to the blueprint available in the working directory.
Use URL-based blueprint for development and testing. Avoid using them in production because Bluebricks can't ensure runtime immutability.
Example
bump
Update the version saved in the working folder bricks.json file.
bump command doesn't update the registry. The developer must publish the blueprint using bricks bp publish command.
Example
create
Create a new IaC module for an existing blueprint. Adding a Terraform scaffolding to an Atomic Infrastructure™ blueprint or an artifact.
Example
describe
Print the bricks.json registry version of a blueprint
Example
disable
Mark the blueprint as disabled for use in the organization. Disabled blueprints can't be installed.
Example
enable
Mark the blueprint as enabled for use in the organization.
Example
fetch
Download the provided blueprint from the registry
Example
get
Get the output values or input properties of a blueprint
Example
init
Initialize an empty Atomic Infrastructure™ project locally by creating bricks.json file. Learn more about bricks.json here.
Example
prepare
Ensure blueprint's Terraform files suites Atomic Infrastructure™ concept.
Example
publish
Upload blueprint files to Bluebricks' package registry and assign an immutable version for future installation. See Quick Start to learn more about the publishing workflow.
Example
remove
Delete a link to another blueprint that was added using add command.
Example
search
Conduct a remote search in the Bluebricks registry of the provided query.
Example
The results are limited to 10 rows
Each row includes the following columns (from left to right):
Version
Name
Enable/Disable - indicate whether the Blueprint can be installed or not
Number of Downloads
Creation Date
Git Repository URL
update
Update nested blueprint in a bricks.json file.
Example
view
List all available versions of the provided blueprint or artifact.
Example
Each row includes the following columns (from left to right):
Version
Number of Downloads
Creation Date
state-config
Create a backend.tf file for an Artifact pointing to a remote state for local development.
Example
Fetch remote state configuration for deployment with slug my-sqs-prod:
The bricks bp state-config command retrieves the remote Terraform/OpenTofu state configuration for the specified deployment slug and performs the following actions:
Generates a
backend.tffile in the current directory containing the remote state configuration.Includes a
variablesmap creates a temporary Terraform/OpenTofu variables file (bbx-temp-terraform.auto.tfvars) with the properties from the last successful deployment
Enables seamless local development with the same configuration as the deployed environment.
Last updated
Was this helpful?

