我正在尝试创建1个VM azure site recovery配置,并使用来自https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/site_recovery_replicated_vm的示例terraform代码。
provider "azurerm" {
version = ">= 2.49.0"
features {
}
}
Once deployment reached to site fabric configuration i am getting below error:
Error: Error checking for presence of existing site recovery fabric dplprimary-fabric (vault dlp01example-recovery-vault): siterecovery.ReplicationFabricsClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="NotFound" Message="Fabric with name dplprimary-fabric could not be located." Details=[{"activityId":"","clientRequestId":"","code":"FabricArmEntityMissing","message":"Fabric with name dplprimary-fabric could not be located.","possibleCauses":"The fabric might have been unregistered from the Microsoft Azure Site Recovery vault.","recommendedAction":"Retry the operation with a valid site."}]
on main.tf line 218, in resource "azurerm_site_recovery_fabric" "primary":
218: resource "azurerm_site_recovery_fabric" "primary" {发布于 2021-04-29 20:31:51
此问题已在2.46版的azurerm提供程序中引入,并已由pull request 11130修复。将您的提供程序更新到>= 2.54版本,一切都应该正常工作
https://stackoverflow.com/questions/66449260
复制相似问题