We use Terraform to build our infrastructure but the company has decided to use Cloudendure for DR for critical VM’s and N2WS for non critical VM’s.
This causes us a problem when one of these tools fail over the VM or restore the VM’s.
The instance id and volume id for example change causing terraform state files to hold the old id’s. This prevents us from making changes to the VM via terraform.
Is there a way that we can update/refresh the state files with the new id’s? or Can terraform place it’s own tags to identify objects that belong to the vm?
We tag all items with the VM name (volumes, instance etc.)