microsoft / microsoft/AzureTRE
Delete resource group on workspace deletion even if it has "lingering" resources.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 235
- Forks
- 192
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 13
Description
Occasionally Azure resources are left in a resource group and are not being tracked by Terraform state/TRE resources. This prevents deletion of the workspace and requires and Azure admin to interveen. We could set the feature flag prevent_deletion_if_contains_resources = false within the features of the AzureRM provider to enable the workspaces to be deleted.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Terraform AzureRM provider's features configuration and locate the workspace deletion entry point; the issue names the prevent_deletion_if_contains_resources flag but no repository file or test. Verify workspace deletion when the resource group contains untracked Azure resources, and confirm the existing behavior remains unchanged for other deletion cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, terraform
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100