Skip to main content
ubx schema manages the local provider schema registry — the database of resource types and their fields that ubx uses for validation.

Usage

ubx schema <subcommand>

Subcommands

ubx schema sync

Sync provider schemas from the Pulumi registry:
ubx schema sync           # sync all registered providers
ubx schema sync aws       # sync AWS only
ubx schema sync gcp       # sync GCP only
ubx schema sync azure     # sync Azure only
  ◆ Syncing schema for aws...
  ✓  aws: 1,672 resources synced
  ◆ Syncing schema for gcp...
  ✓  gcp: 1,217 resources synced
Schemas are cached in ~/.ubx/schemas/. Run ubx schema sync after upgrading provider versions.

ubx schema list

List all registered resource types:
ubx schema list           # all providers
ubx schema list aws       # AWS only
ubx schema list --filter s3  # filter by name
aws_s3_bucket_v2
aws_s3_bucket_acl
aws_s3_bucket_cors_configuration
aws_s3_bucket_lifecycle_configuration
...
1,672 total

ubx schema show

Show fields for a specific resource type:
ubx schema show aws_s3_bucket_v2
aws_s3_bucket_v2
  bucket              string    optional
  force_destroy       bool      optional
  tags                object    optional
  ...
Same output as ubx docs <type> --list.