diff --git a/internal/services/springcloud/spring_cloud_build_deployment_resource_test.go b/internal/services/springcloud/spring_cloud_build_deployment_resource_test.go index c407cbb9c632..3b33f90c8a30 100644 --- a/internal/services/springcloud/spring_cloud_build_deployment_resource_test.go +++ b/internal/services/springcloud/spring_cloud_build_deployment_resource_test.go @@ -206,8 +206,8 @@ func (SpringCloudBuildDeploymentResource) template(data acceptance.TestData) str return fmt.Sprintf(` provider "azurerm" { features { - application_insights { - disable_generated_rule = true + resource_group { + prevent_deletion_if_contains_resources = false } } } diff --git a/internal/services/springcloud/spring_cloud_container_deployment_resource_test.go b/internal/services/springcloud/spring_cloud_container_deployment_resource_test.go index 35f6dd2eac92..de09566958e0 100644 --- a/internal/services/springcloud/spring_cloud_container_deployment_resource_test.go +++ b/internal/services/springcloud/spring_cloud_container_deployment_resource_test.go @@ -206,8 +206,8 @@ func (SpringCloudContainerDeploymentResource) template(data acceptance.TestData) return fmt.Sprintf(` provider "azurerm" { features { - application_insights { - disable_generated_rule = true + resource_group { + prevent_deletion_if_contains_resources = false } } }