Update machine-readable-ui.mdx (#34217)

Added "import" under values of "action" for "planned_change".
pull/34263/head
Johnny Lee-Othon 3 years ago committed by GitHub
parent f4a5b11dc1
commit 1f9734619f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -146,7 +146,7 @@ At the end of a plan or before an apply, Terraform will emit a `planned_change`
- `resource`: object describing the address of the resource to be changed; see [resource object](#resource-object) below for details
- `previous_resource`: object describing the previous address of the resource, if this change includes a configuration-driven move
- `action`: the action planned to be taken for the resource. Values: `noop`, `create`, `read`, `update`, `replace`, `delete`, `move`.
- `action`: the action planned to be taken for the resource. Values: `noop`, `create`, `read`, `update`, `replace`, `delete`, `move`, `import`.
- `reason`: an optional reason for the change, only used when the action is `replace` or `delete`. Values:
- `tainted`: resource was marked as tainted
- `requested`: user requested that the resource be replaced, for example via the `-replace` plan flag
@ -926,4 +926,4 @@ Finally, the `planned` field contains any resources that were in the process of
},
"type": "test_interrupt"
}
```
```

Loading…
Cancel
Save