diff --git a/internal/services/recoveryservices/site_recovery_replication_recovery_plan_data_source_test.go b/internal/services/recoveryservices/site_recovery_replication_recovery_plan_data_source_test.go index 99ea10c1e3841..89fb2a053247f 100644 --- a/internal/services/recoveryservices/site_recovery_replication_recovery_plan_data_source_test.go +++ b/internal/services/recoveryservices/site_recovery_replication_recovery_plan_data_source_test.go @@ -22,9 +22,6 @@ func TestAccDataSourceSiteRecoveryReplicationRecoveryPlan_basic(t *testing.T) { check.That(data.ResourceName).Key("recovery_vault_id").Exists(), check.That(data.ResourceName).Key("source_recovery_fabric_id").Exists(), check.That(data.ResourceName).Key("target_recovery_fabric_id").Exists(), - check.That(data.ResourceName).Key("recovery_group.0.type").HasValue("Shutdown"), - check.That(data.ResourceName).Key("recovery_group.1.type").HasValue("Failover"), - check.That(data.ResourceName).Key("recovery_group.2.type").HasValue("Boot"), ), }, }) @@ -42,9 +39,6 @@ func TestAccDataSourceSiteRecoveryReplicationRecoveryPlan_withZones(t *testing.T check.That(data.ResourceName).Key("recovery_vault_id").Exists(), check.That(data.ResourceName).Key("source_recovery_fabric_id").Exists(), check.That(data.ResourceName).Key("target_recovery_fabric_id").Exists(), - check.That(data.ResourceName).Key("recovery_group.0.type").HasValue("Shutdown"), - check.That(data.ResourceName).Key("recovery_group.1.type").HasValue("Failover"), - check.That(data.ResourceName).Key("recovery_group.2.type").HasValue("Boot"), check.That(data.ResourceName).Key("azure_to_azure_settings.0.primary_zone").HasValue("1"), check.That(data.ResourceName).Key("azure_to_azure_settings.0.recovery_zone").HasValue("2"), ), diff --git a/internal/services/recoveryservices/site_recovery_replication_recovery_plan_resource_test.go b/internal/services/recoveryservices/site_recovery_replication_recovery_plan_resource_test.go index cdea21e2e8073..bb5c298ad9c14 100644 --- a/internal/services/recoveryservices/site_recovery_replication_recovery_plan_resource_test.go +++ b/internal/services/recoveryservices/site_recovery_replication_recovery_plan_resource_test.go @@ -122,7 +122,6 @@ func TestAccSiteRecoveryReplicationRecoveryPlan_withMultiBootGroup(t *testing.T) Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), check.That(data.ResourceName).Key("boot_recovery_group.0.replicated_protected_items.#").HasValue("1"), - check.That(data.ResourceName).Key("boot_recovery_group.1.type").HasValue("Boot"), ), }, data.ImportStep(), @@ -525,7 +524,6 @@ resource "azurerm_site_recovery_replication_recovery_plan" "test" { failover_recovery_group {} boot_recovery_group { - type = "Boot" replicated_protected_items = [azurerm_site_recovery_replicated_vm.test.id] } @@ -634,7 +632,7 @@ resource "azurerm_site_recovery_replication_recovery_plan" "test" { shutdown_recovery_group {} - recovery_group {} + failover_recovery_group {} boot_recovery_group { replicated_protected_items = [azurerm_site_recovery_replicated_vm.test.id]