driftctl
driftctl copied to clipboard
Do not retrieve details for unmanaged resources.
Description We do not need details for unmanaged resources in deep mode since we do not have anything to compare. We can save a lot of time and network calls by avoiding to retrieve details for unmanaged resource.
The new workflow could be
- Enumerate resources from IaC
- Enumerate resources from remote
- Analysis : without diff/changes
- Read resource details only for managed ones
- Analysis : add diff/changes
- Summary
Reopening since we decided to rollback this feature. Considering the impact of #1253 on new releases, further investigation must be done to ensure the new architecture does not break the way we handle resources and analysis.
Scan times between only managed and all are the same. There seems to be something off about the way this was implemented.