diff --git a/internal/service/backupcompliancepolicy/resource_backup_compliance_policy_test.go b/internal/service/backupcompliancepolicy/resource_backup_compliance_policy_test.go index 310793e882..15b66d392d 100644 --- a/internal/service/backupcompliancepolicy/resource_backup_compliance_policy_test.go +++ b/internal/service/backupcompliancepolicy/resource_backup_compliance_policy_test.go @@ -398,7 +398,7 @@ func configClusterWithBackupSchedule(projectName, orgID, projectOwnerID string, cloud_provider = "AWS" frequencies = ["DAILY"] region_name = "US_WEST_1" - replication_spec_id = one(%[2]s.replication_specs).id + replication_spec_id = one(%[2]s.replication_specs).external_id should_copy_oplogs = false } } diff --git a/internal/service/cloudbackupschedule/resource_cloud_backup_schedule_test.go b/internal/service/cloudbackupschedule/resource_cloud_backup_schedule_test.go index 0e150cb05b..0046578459 100644 --- a/internal/service/cloudbackupschedule/resource_cloud_backup_schedule_test.go +++ b/internal/service/cloudbackupschedule/resource_cloud_backup_schedule_test.go @@ -547,7 +547,7 @@ func configCopySettings(terraformStr, projectID, clusterResourceName string, emp "YEARLY", "ON_DEMAND"] region_name = "US_EAST_1" - replication_spec_id = %[1]s.replication_specs.*.id[0] + replication_spec_id = %[1]s.replication_specs.*.external_id[0] should_copy_oplogs = true }`, clusterResourceName) }