Skip to content

waldur-cli marketplace resource provision

Provision marketplace resources (provision/terminate any offering) via a marketplace order.

Usage

1
waldur-cli marketplace resource provision (--request JSON | --request-file PATH | --generate-skeleton)
Flag Type Description
--request JSON string The order body as inline JSON.
--request-file PATH path Read the order body from a JSON or YAML file.
--generate-skeleton [FORMAT] json yaml
--no-wait flag Submit and return immediately, without polling the order to completion.
--timeout N integer Seconds to wait for the order to complete before giving up (default 600).
--interval N integer Seconds between polls (default 3).

Examples

See the fillable template first:

1
waldur-cli marketplace resource provision --generate-skeleton

Then fill it in and submit:

1
waldur-cli marketplace resource provision --request '{"accepting_terms_of_service":true,"attributes":{"description":null,"name":null},"callback_url":null,"limits":null,"offering":"","plan":null,"project":"","request_comment":null,"slug":null,"start_date":null,"type":null}'

Fire-and-forget, checking on it later from the printed order UUID:

1
waldur-cli marketplace resource provision --request-file order.yaml --no-wait --format json

Global options

Every command also accepts --api-url, --token, --profile, --format, and --debug; mutating commands additionally accept --dry-run. See Getting started for what each does.