diff --git a/tests/pr_test.go b/tests/pr_test.go index a32364a0..0b9a1f1a 100644 --- a/tests/pr_test.go +++ b/tests/pr_test.go @@ -94,7 +94,7 @@ func TestRunCompleteUpgradeExample(t *testing.T) { BestRegionYAMLPath: regionSelectionPath, ResourceGroup: resourceGroup, TerraformVars: map[string]interface{}{ - "mongodb_version": "5.0", // Always lock to the lowest supported MongoDB version + "mongodb_version": "6.0", // Always lock to the lowest supported MongoDB version "users": []map[string]interface{}{ { "name": "testuser", diff --git a/variables.tf b/variables.tf index a92743b7..6fa7ea32 100644 --- a/variables.tf +++ b/variables.tf @@ -21,9 +21,8 @@ variable "mongodb_version" { condition = anytrue([ var.mongodb_version == null, var.mongodb_version == "6.0", - var.mongodb_version == "5.0", ]) - error_message = "Version must be 5.0 or 6.0. If no value is passed, the current preferred version of IBM Cloud Databases is used." + error_message = "Version must be 6.0. If no value is passed, the current preferred version of IBM Cloud Databases is used." } }