Terraform on Azure: create resource if doesn't exists and don't rename existing one
Step 0: I have a terraform script that creates resource groups from external parameters. resource "azurerm_resource_group" "example" { name = var.name location = "Your_Location" } Step 1: I define var.name = 'ABC1' so a resource group named ABC1 is created…