Terraform plan resource change
terraform.plan.resourceChange MQL resource for querying Terraform infrastructure with cnquery and cnspec.
Terraform
Terraform plan resource change
Use MQL in cnspec shell or policy:
terraform.plan.resourceChangeMin version: latestDefaults:
type nameRelationships
3 resources · 4 relationships·Click to select, expand fields to see properties.
Fields (10)
| Field | Type | Description |
|---|---|---|
actionReasonrequired | string | Resource action reason |
addressrequired | string | Resource address |
changerequired | terraform.plan.proposedChange | Change to make to this object |
deposedrequired | string | Whether the action applies to a deposed object |
moderequired | string | Resource mode |
moduleAddressrequired | string | Resource module address |
namerequired | string | Resource name |
previousAddressrequired | string | Resource previous address |
providerNamerequired | string | Provider name |
typerequired | string | Resource type |