You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Azure recipe validation fails: secrets Terraform destroy error and containers delete hang #400
The Azure recipe validation workflow (validate-azure-recipes.yaml) fails on all branches since about 2026-10-17. The failure is not specific to one PR. Two jobs fail for two different causes.
The Security/secrets/recipes/azure/terraform test deploys successfully. The cleanup step then fails:
ERROR CODE: RecipeDeletionFailed
terraform destroy failure: exit status 1
Error: Invalid combination of arguments
with module.default.azurerm_key_vault_secret.secrets["password"],
on .terraform/modules/default/main.tf line 45, in resource "azurerm_key_vault_secret" "secrets":
"value_wo": one of `value,value_wo` must be specified
main.tf sets value = each.value.value. During the delete, the value appears to be null. azurerm ~> 5.0 then rejects the configuration. Possible causes: Radius now removes secret values from the recipe context on delete, or a new azurerm 5.x release made this validation more strict.
The failures started when the Radius edge build changed from 567e652 (last passing run, 2026-10-16) to 97e14dc (failing runs). The four new commits change only the rad CLI. The relevant commit is radius-project/radius#13306 (162d61c), "make rad app commands target Radius.Core without --preview".
That change did not add the bugs. It made CI run delete paths that CI did not run before:
The test cleanup in .github/scripts/lib-recipe-test.sh (lines 212-228) runs rad app delete. The test apps are Radius.Core/applications.
Before:rad app delete looked only for Applications.Core/applications. The passing logs show Applications.Core/applications/testapp-... not found. The command deleted nothing, so the Azure recipe delete paths never ran.
After:rad app delete uses Radius.Core and deletes each resource (Deleting N resource(s) associated with application ...). This shows two bugs that were already in the recipe delete paths:
Security/secrets Azure Terraform: terraform destroy fails because the secret value is null during the delete.
Compute/containers Azure Bicep: the delete of the app resources stops responding.
Side effect
Before this change, the Azure test runs did not delete their resources. Some test resources (for example, Key Vaults and container groups) may still be left in the CI Azure resource group. Examine the resource group and remove these resources.
Activity
nicolejms commentedon Oct 19, 2026
Root cause
The failures started when the Radius edge build changed from
567e652(last passing run, 2026-10-16) to97e14dc(failing runs). The four new commits change only theradCLI. The relevant commit is radius-project/radius#13306 (162d61c), "make rad app commands target Radius.Core without --preview".That change did not add the bugs. It made CI run delete paths that CI did not run before:
.github/scripts/lib-recipe-test.sh(lines 212-228) runsrad app delete. The test apps areRadius.Core/applications.rad app deletelooked only forApplications.Core/applications. The passing logs showApplications.Core/applications/testapp-... not found. The command deleted nothing, so the Azure recipe delete paths never ran.rad app deleteusesRadius.Coreand deletes each resource (Deleting N resource(s) associated with application ...). This shows two bugs that were already in the recipe delete paths:Security/secretsAzure Terraform:terraform destroyfails because the secret value is null during the delete.Compute/containersAzure Bicep: the delete of the app resources stops responding.Side effect
Before this change, the Azure test runs did not delete their resources. Some test resources (for example, Key Vaults and container groups) may still be left in the CI Azure resource group. Examine the resource group and remove these resources.
Print one line for each sweep error in cleanup-azure-resources.sh
Guard Azure secret inputs and remove the deployment script workaround
Fix Azure Terraform secret deletion (radius-project#401)
nicolejms commentedon Oct 20, 2026
radius-project/radius#13342
fix(recipes): delete Key Vault secrets through managed parent vaults (r…