Help with Bicep Template for Deleting Azure Resources Based on Resource Name
Gupta, Shalu
0
Reputation points
I have created Bicep templates for provisioning various Azure resources such as Azure OpenAI, Azure Cognitive Search, Azure App Service, and Azure Cosmos DB.
In a similar way, I would like to write a Bicep template or script that allows for the deletion of a specific resource, based on a resource name provided by the user at runtime. This deletion should completely remove the resource from the resource group.
Could someone please guide me on how to achieve this? Any insights or examples would be greatly appreciated. Thank you in advance!
Sign in to answer