Refactor custom timeouts support to match TF #2411
Labels
kind/design
An engineering design doc, usually part of an Epic
kind/engineering
Work that is not visible to an external user
Logging a design conversation from reviewing #2407
There are now good tests to cover Custom Timeout support. But there is one concern introduced in 2407. Currently timeouts are read through the InstanceDiff object from the planning phase and re-injected in PlannedPrivate.
This must not be how TF CLI operates itself, since the TF CLI cannot observe the InstanceDiff object and instead operates primarily via the TF gRPC protocol.
Likewise, PF resources and "any provider" support operates purely off gRPC protocol and must implement timeouts in a different way.
This task is a reminder to factor custom timeouts support to match how TF does it without relying on the InstanceDiff object, and to confirm it works for the PF case as well.
The text was updated successfully, but these errors were encountered: