Skip to main content
ubx docs opens the documentation URL for a resource type in your browser, or lists its fields in the terminal.

Usage

ubx docs <resource_type> [flags]

Examples

ubx docs aws_s3_bucket_v2            # open docs in browser
ubx docs aws_rds_instance --list     # list all fields in terminal
ubx docs aws_eks_cluster --list

Flags

FlagDescription
--listList all fields in the terminal instead of opening browser

--list Output

ubx docs aws_s3_bucket_v2 --list
aws_s3_bucket_v2
  Required:
    (none)

  Optional:
    acceleration_status          string
    acl                          string
    bucket                       string
    bucket_prefix                string
    force_destroy                bool
    object_lock_enabled          bool
    policy                       string
    request_payer                string
    tags                         object
    ...

34 fields  ·  https://index.ubiquex.io/resources/aws_s3_bucket_v2

Browser URL

For unknown resource types, ubx prints the URL and exits 0:
https://index.ubiquex.io/resources/aws_s3_bucket_v2