Remove unused managed disks

March 21, 2025 ยท View on GitHub

SYNOPSIS

Managed disks should be attached to virtual machines or removed.

DESCRIPTION

Unattached managed disks are charged but not in use. Unattached managed disks still consume storage and are charged on their size.

RECOMMENDATION

Consider removing managed disks that are no longer required to reduce complexity and costs.

NOTES

This rule applies when analyzing resources deployed (in-flight) to Azure.