Deploy a saved App Plan by id or create and deploy from data. Follow the returned Activity with activity_wait.
Arguments
| Argument |
Type |
Description |
yes |
boolean |
true once the person confirms. |
id |
string |
App Plan id; omit to plan data and deploy it. |
data |
object |
— |
data.app_name |
string |
An existing App gets a new Environment. |
data.environment_name |
string |
— |
data.clone_url |
string |
— |
data.repository_type |
string |
private needs a connected Git provider. One of: public, private. |
data.subfolder |
string |
Repository folder to deploy. |
data.quickstart |
string |
Key from catalog_list with kind quickstart. |
data.services |
object list |
— |
data.services[].name |
string |
— |
data.services[].image |
string |
Override the Environment image. |
data.services[].entrypoint |
string |
— |
data.services[].command |
string |
Start command or Procfile process. |
data.services[].port |
integer |
— |
data.services[].publicly_exposed |
boolean |
— |
data.services[].paths |
string list |
— |
data.services[].resources |
object |
— |
data.env_vars |
object |
— |
data.database_instance_id |
string |
— |
data.cache_instance_id |
string |
— |
data.location_id |
string |
Uses the default Location if omitted. |
environment |
string |
Override the plan’s Environment name. |
note |
string |
Note for the plan reviewer. |
prepared_by |
string |
Name of the agent preparing the plan. |
Example