Hello jbardin,
Thanks for your answer, yes i want a machine readable of the output.
I tried the -json output here is what i got
{
"@level": "info",
"@message": "Terraform 1.9.8",
"@module": "terraform.ui",
"@timestamp": "2025-03-26T09:06:05.292395+01:00",
"terraform": "1.9.8",
"type": "version",
"ui": "1.2"
}
{
"@level": "info",
"@message": "vsphere_virtual_machine.vm: Refreshing state... [id=4210012c-c2ea-095e-a090-7411e3ccf2cb]",
"@module": "terraform.ui",
"@timestamp": "2025-03-26T09:06:06.010155+01:00",
"hook": {
"resource": {
"addr": "vsphere_virtual_machine.vm",
"module": "",
"resource": "vsphere_virtual_machine.vm",
"implied_provider": "vsphere",
"resource_type": "vsphere_virtual_machine",
"resource_name": "vm",
"resource_key": null
},
"id_key": "id",
"id_value": "4210012c-c2ea-095e-a090-7411e3ccf2cb"
},
"type": "refresh_start"
}
{
"@level": "info",
"@message": "vsphere_virtual_machine.vm: Refresh complete [id=4210012c-c2ea-095e-a090-7411e3ccf2cb]",
"@module": "terraform.ui",
"@timestamp": "2025-03-26T09:06:06.370466+01:00",
"hook": {
"resource": {
"addr": "vsphere_virtual_machine.vm",
"module": "",
"resource": "vsphere_virtual_machine.vm",
"implied_provider": "vsphere",
"resource_type": "vsphere_virtual_machine",
"resource_name": "vm",
"resource_key": null
},
"id_key": "id",
"id_value": "4210012c-c2ea-095e-a090-7411e3ccf2cb"
},
"type": "refresh_complete"
}
{
"@level": "info",
"@message": "vsphere_virtual_machine.vm: Drift detected (update)",
"@module": "terraform.ui",
"@timestamp": "2025-03-26T09:06:06.421384+01:00",
"change": {
"resource": {
"addr": "vsphere_virtual_machine.vm",
"module": "",
"resource": "vsphere_virtual_machine.vm",
"implied_provider": "vsphere",
"resource_type": "vsphere_virtual_machine",
"resource_name": "vm",
"resource_key": null
},
"action": "update"
},
"type": "resource_drift"
}
{
"@level": "info",
"@message": "vsphere_virtual_machine.vm: Plan to update",
"@module": "terraform.ui",
"@timestamp": "2025-03-26T09:06:06.421483+01:00",
"change": {
"resource": {
"addr": "vsphere_virtual_machine.vm",
"module": "",
"resource": "vsphere_virtual_machine.vm",
"implied_provider": "vsphere",
"resource_type": "vsphere_virtual_machine",
"resource_name": "vm",
"resource_key": null
},
"action": "update"
},
"type": "planned_change"
}
{
"@level": "info",
"@message": "Plan: 0 to add, 1 to change, 0 to destroy.",
"@module": "terraform.ui",
"@timestamp": "2025-03-26T09:06:06.421494+01:00",
"changes": {
"add": 0,
"change": 1,
"import": 0,
"remove": 0,
"operation": "plan"
},
"type": "change_summary"
}
it’s pretty cool, it’ll help me to process the plan in my code 
is there a way to get this summary in a json format too ?