blossom app_plan:preview
Preview resources and capacity without saving a plan
Usage
blossom app_plan:preview [--location LOCATION] [--data DATA]
Flags
| Flag | Description |
|---|---|
--location |
Location id (defaults to profile or Account default) |
--data, -d |
YAML or JSON data, a path to a data file, or an HTTP(S) URL |
Examples:
cd path/to/the/app
blossom app_plan:preview
blossom app_plan:preview --data app_plan.yml
blossom app_plan:preview -d '{"app_plan":{"app_name":"demo","environment_name":"production","clone_url":"https://github.com/blossom-examples/ruby-sinatra","location_id":"location-100","services":[{"name":"web","command":"web","port":3000}]}}'
Prints the resources a plan would create and the capacity it needs without
saving anything. Without --data the intent is read from the repository in
the working directory, as app_plan:create does. Use it to compare Locations or
Service shapes, then save or deploy the one you want:
blossom app_plan:create --data app_plan.yml
blossom app_plan:deploy --data app_plan.yml