When diagnosing issues like continual updates in a resource, we often enable debugging to review the InstanceDiff.
However, when extracting this structure, it is not a JSON object, but the TF struct embedded as a string under the key instanceDiff. This makes it more difficult to determine what fields are causing the update activity.
What problem are you facing?
When diagnosing issues like continual updates in a resource, we often enable debugging to review the InstanceDiff.
However, when extracting this structure, it is not a JSON object, but the TF struct embedded as a string under the key
instanceDiff
. This makes it more difficult to determine what fields are causing the update activity.How could Upjet help solve your problem?
Convert the instanceDiff Struct to a JSON object for better debug ability.