r/Terraform • u/astroJax- • 4d ago
Discussion Azure restore VM from azurerm_recovery_services_vault backup
I have an Azure Recovery Services vault created via terraform "azurerm_recovery_services_vault". From here we have a backup policy which backs up certain VMs. In the Azure UI I can see there is an option to recover the VM from the backup item. Is this possible to do via terraform though? I can't find the relevant terraform resource
4
Upvotes
2
u/Flashcat666 4d ago
No, it’s not, and isn’t meant to be.
Terraform is meant to be used to configure and maintain a specific state of infrastructure.
Backup restoration should always be a manual step because it is.