title: Terraform resource with the ID already exists
body: <p>When Terraform run task executes in azure devops release pipeline I get an error "A resource with the ID already exists". 
  The resource exists in Azure but why it is complaining about the resource if this already exists. This should ignore this part. Please help what I need to add in my code that will fix this error!
  Am I just using this bugging terraform tool for deploying azure resource? Terraform help is terrible!!!</p>
  
  <pre><code>resource "azurerm_resource_group" "test_project" {
    name = "${var.project_name}-${var.environment}-rg"
    location = "${var.location}"
    tags = {  
      application = "${var.project_name}" 
    }
  }
  </code></pre>