Interview Prep/Azure/Quota, Deployment and IaC Errors

`InvalidResourceLocation: The resource 'vnet-shop' already exists in location 'southindia' in resource group 'rg-shop'. A resource with the same name cannot be created in location 'centralindia'.`

BeginnerTroubleshootingQuota, Deployment and IaC Errors
Answer

Likely causes → A resource with that name and type already exists in the RG in another region; names are unique per RG and type.

Diagnose → az resource list -g rg-shop -n vnet-shop -o table

Fix → Use region in names (vnet-shop-cin), or delete/move the old resource.

Prevent → Naming convention including region abbreviation.

Azure All Azure questions

More on Quota, Deployment and IaC Errors