Resource Groups - Remove empty Resource GroupsΒΆ

Removes all empty resource groups from the subscription:

policies:
    - name: rg-remove-empty
      description: |
        Removes any empty resource groups from subscription
      resource: azure.resourcegroup
      filters:
        - type: empty-group
      actions:
        - type: delete