I would like to know if there is a way to always create a new terraform resource and not destroy any previously deployed resource.
example resource group 1 deployment
provider "azurerm" {
version = "=2.20.0"
features {}
}
resource "azurerm_resource_group" "example" {
name = "rg-example-resources-1"
}
say now I want to deploy rg-example-resources-2 but I don't want to duplicate the resource block. I'm aware of count but I don't want to use it. if I change the resource group name terraform understand it as a replacement :(
any clue ?