mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
terraform show -json: Add Errored field to output for plan (#33372)
* Add Errored field to JSON output * Fix test error message
This commit is contained in:
@@ -229,7 +229,11 @@ For ease of consumption by callers, the plan representation includes a partial r
|
||||
// resources with postconditions, with as much information as Terraform can
|
||||
// recognize at plan time. Some objects will have status "unknown" to
|
||||
// indicate that their status will only be determined after applying the plan.
|
||||
"checks" <checks-representation>
|
||||
"checks" <checks-representation>,
|
||||
|
||||
// "errored" indicates whether planning failed. An errored plan cannot be applied,
|
||||
// but the actions planned before failure may help to understand the error.
|
||||
"errored": false
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user