-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable easy cleanup #1
Comments
So what we could do is add the PowerShell command to the workbook to clean-up the resources. Another option could be to add a FunctionApp and feed it the query from the workbook to clean the orphaned resources. The managed Identity of this function app could be used for authentication to the subscription. |
Removing with a click is to risky.
|
@dolevshor workbooks supports an action in links/action steps called "ARM Action", which shows a confirmation prompt, and the author of the worbook controls what shows up in the confirmation as markdown/etc. here's an example i have locally in the workbooks test cases: |
another option would be: instead of actually DELETING the resources in workbooks, you could have ARM Action that adds specific tag(s) to the resources? like adding a tag to all the resources: then you could use something else (or even azure policy maybe?) to delete things with specific tags in bulk? |
Hi @gardnerjr, Thanks a lot for the suggestions. The goal at the end is not just to recognize the orphaned resources, it's to remove those resources safely. |
a cool feature might be to clean up resource by type.
The text was updated successfully, but these errors were encountered: