Resource: ResourceChange
A resource change represents a change to a resource in the state file.
JSON representation |
---|
{ "name": string, "terraformInfo": { object ( |
Fields | |
---|---|
name |
Identifier. The name of the resource change. Format: 'projects/{projectId}/locations/{location}/previews/{preview}/resourceChanges/{resourceChange}'. |
terraformInfo |
Output only. Terraform info of the resource change. |
intent |
Output only. The intent of the resource change. |
propertyChanges[] |
Output only. The property changes of the resource change. |
ResourceChangeTerraformInfo
Terraform info of a ResourceChange.
JSON representation |
---|
{ "address": string, "type": string, "resourceName": string, "provider": string, "actions": [ string ] } |
Fields | |
---|---|
address |
Output only. TF resource address that uniquely identifies the resource. |
type |
Output only. TF resource type. |
resourceName |
Output only. TF resource name. |
provider |
Output only. TF resource provider. |
actions[] |
Output only. TF resource actions. |
Intent
Possible intent of the resource change.
Enums | |
---|---|
INTENT_UNSPECIFIED |
The default value. |
CREATE |
The resource will be created. |
UPDATE |
The resource will be updated. |
DELETE |
The resource will be deleted. |
RECREATE |
The resource will be recreated. |
UNCHANGED |
The resource will be untouched. |
PropertyChange
A property change represents a change to a property in the state file.
JSON representation |
---|
{ "path": string, "beforeSensitivePaths": [ string ], "before": value, "afterSensitivePaths": [ string ], "after": value } |
Fields | |
---|---|
path |
Output only. The path of the property change. |
beforeSensitivePaths[] |
Output only. The paths of sensitive fields in |
before |
Output only. Representations of the object value before the actions. |
afterSensitivePaths[] |
Output only. The paths of sensitive fields in |
after |
Output only. Representations of the object value after the actions. |
Methods |
|
---|---|
|
Get a ResourceChange for a given preview. |
|
Lists ResourceChanges for a given preview. |