Skip to main content
ubx publish packages and publishes a Pulumi ComponentResource to the Strata registry, making it available for use in component blocks.

Usage

ubx publish [path] [flags]

Examples

ubx publish                          # publish current directory
ubx publish ./components/eks-platform
ubx publish --version 2.1.0
ubx publish --tag latest

Flags

FlagDescription
--version stringVersion to publish (default: from package.json)
--tag stringRegistry tag (default: latest)

Prerequisites

  • Component must have a valid package.json with name and version
  • Must be authenticated to the Strata registry
  • Component class must extend pulumi.ComponentResource

Component Structure

my-eks-platform/
  package.json         # npm package config
  index.ts             # ComponentResource class
  schema.json          # input/output schema

After Publishing

The component is available as:
component "platform" {
  source  = "registry.ubiquex.io/eks-platform"
  version = "2.1.0"
}
The Strata registry is part of the Ubiquex platform. Contact the team for access.