Cloud
The config plan object
What applying a dispra.yaml file would change, step by step. Apply it with its plan_hash, so what you reviewed is exactly what runs.
Attributes
plan_hashstring: Identifies the plan. Apply refuses it if the environment changed since.changesarray: The steps, in order: list of {action, kind, target, fields}.unmanagedarray: Objects of the environment the file leaves out.warningsarray: What apply will not do, and why.
Example
{
"data": {
"plan_hash": "pln_7c1e9a2f4b6d8e0a1c3e5f7a",
"changes": [{"action":"update","kind":"service","target":"api","fields":[{"field":"replicas","from":1,"to":2}]}],
"unmanaged": ["service legacy-worker"],
"warnings": ["variables.STRIPE_KEY is a secret without a value"]
}
}
Endpoints
POSTApply a config filePOSTPlan a config file