driftctl/pkg/cmd/scan/output/testdata/output_computed_fields.json

87 lines
1.3 KiB
JSON

{
"summary": {
"total_resources": 1,
"total_changed": 1,
"total_unmanaged": 0,
"total_missing": 0,
"total_managed": 1
},
"managed": [
{
"id": "diff-id-1",
"type": "aws_diff_resource"
}
],
"unmanaged": null,
"missing": null,
"differences": [
{
"res": {
"id": "diff-id-1",
"type": "aws_diff_resource"
},
"changelog": [
{
"type": "update",
"path": [
"updated",
"field"
],
"from": "foobar",
"to": "barfoo",
"computed": true
},
{
"type": "create",
"path": [
"new",
"field"
],
"from": null,
"to": "newValue",
"computed": false
},
{
"type": "delete",
"path": [
"a"
],
"from": "oldValue",
"to": null,
"computed": true
},
{
"type": "update",
"path": [
"struct",
"0",
"array",
"0"
],
"from": "foo",
"to": "oof",
"computed": true
},
{
"type": "update",
"path": [
"struct",
"0",
"string"
],
"from": "one",
"to": "two",
"computed": true
}
]
}
],
"coverage": 100,
"alerts": {
"": [
{
"message": "You have diffs on computed fields, check the documentation for potential false positive drifts: https://docs.driftctl.com/limitations"
}
]
}
}