You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exporter: track removed objects during the Emit phase (#3554)
* Exporter: track removed objects during the `Emit` phase
In the current implementation when TF resource data has `.id` set to empty string this
means the following:
* object doesn't exist on backend - common situation for jobs and DLT pipelines when
dependencies are deleted.
* Grants or Permissions are empty, so we don't need to generate a code for that.
Right now, all such objects are tracked and reported individually via `Ignore` function,
but not all objects have it. Also, for big exports, not necessary objects are polluting
the internal state without any useful effect.
The current PR checks if `.id` is empty during the `Emit` phase, adds them to the list of
ignored objects (except permissions & grants), and don't propagate them to the internal
state.
* Add more tests
0 commit comments