Issue in reading file which get generated through local provisioner script

Hi Team ,
I am unable to read a file which get created through my local provisioner command.
provisioner “local-exec” {
command = “{path.module}/healthcheck.sh {vcd_vapp_vm.vmware_instance[0].name} ${vcd_vapp_vm.vmware_instance[0].network[0].ip}”
}
I need to pass content of the file which get created during runtime and pass it to my ignition data here “guestinfo.ignition.config.data” . Please suggest