Problem
Projects and groups that are scheduled for deletion are still being scanned and included in the drift output (e.g. resources with names like *-deletion_scheduled-*).
These resources are in the deletion process and should not be reported as unmanaged drift.
Proposal
Skip projects/groups where the deletion is scheduled (e.g. marked_for_deletion_on is set) so they don't appear in scan results or generated .tf files.
Problem
Projects and groups that are scheduled for deletion are still being scanned and included in the drift output (e.g. resources with names like
*-deletion_scheduled-*).These resources are in the deletion process and should not be reported as unmanaged drift.
Proposal
Skip projects/groups where the deletion is scheduled (e.g.
marked_for_deletion_onis set) so they don't appear in scan results or generated.tffiles.