Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 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
14 changes: 12 additions & 2 deletions ibm_catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
{
"key": "mongodb_version",
"hidden": true,
"default_value": "7.0"
"default_value": "8.0"
},
{
"key": "plan"
Expand Down Expand Up @@ -525,7 +525,17 @@
{
"key": "mongodb_version",
"hidden": true,
"default_value": "7.0"
"default_value": "8.0",
"options": [
{
"displayname": "8.0",
"value": "8.0"
},
{
"displayname": "7.0",
"value": "7.0"
}
]
},
{
"key": "plan"
Expand Down
2 changes: 1 addition & 1 deletion tests/pr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
const fscloudExampleTerraformDir = "examples/fscloud"
const fullyConfigurableSolutionTerraformDir = "solutions/fully-configurable"
const securityEnforcedSolutionTerraformDir = "solutions/security-enforced"
const latestVersion = "7.0"
const latestVersion = "8.0"

// Use existing resource group
const resourceGroup = "geretain-test-mongo"
Expand Down
3 changes: 2 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ variable "mongodb_version" {
validation {
condition = anytrue([
var.mongodb_version == null,
var.mongodb_version == "8.0",
var.mongodb_version == "7.0",
])
error_message = "Version must be either 7.0. If no value is passed, the current preferred version of IBM Cloud Databases is used."
error_message = "Version must be either 8.0 or 7.0. If no value is passed, the current preferred version of IBM Cloud Databases is used."
}
}

Expand Down