1

我正在尝试创建 1 个 VM 天蓝色站点恢复配置并使用来自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" {
4

1 回答 1

0

此问题已在 azurerm 提供程序的 2.46 版中引入,并已由拉取请求 11130修复。将您的提供程序更新到 >= 2.54 的版本,一切都应该工作

于 2021-04-29T12:31:51.183 回答