Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/pr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
}

Expand Down