TFNFR36 - Legacy AzureRM resource group deletion behavior
ID: TFNFR36 - Category: Code Style - Legacy AzureRM resource group deletion behavior
Warning
This specification applies only to existing legacy modules that still use AzureRM while they are being migrated. It does not apply to a new module that uses AzureRM solely for the narrow unsupported data-plane/non-ARM API exception in TFFR3, because that exception does not permit AzureRM resource-group management.
In a legacy AzureRM module, the prevent_deletion_if_contains_resources provider setting SHOULD be set to false until the module is migrated. Azure Policy remediation can add resources during a test run, and the provider’s default behavior can then prevent cleanup of the test resource group.