Skip to content

Commit

Permalink
fix: update supported versions for postgres (#560)<br> - Added new av…
Browse files Browse the repository at this point in the history
…ailable version 17, removed deprecated version 12

* fix: update supported versions for postgres

---------

Co-authored-by: Jordan-Williams2 <[email protected]>
  • Loading branch information
jor2 and Jordan-Williams2 authored Jan 9, 2025
1 parent 86a95ea commit 1739da7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions ibm_catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,6 @@
"key": "pg_version",
"required": true,
"options": [
{
"displayname": "12",
"value": "12"
},
{
"displayname": "13",
"value": "13"
Expand All @@ -211,6 +207,10 @@
{
"displayname": "16",
"value": "16"
},
{
"displayname": "17",
"value": "17"
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions tests/other_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func TestRunBasicExample(t *testing.T) {
BestRegionYAMLPath: regionSelectionPath,
ResourceGroup: resourceGroup,
TerraformVars: map[string]interface{}{
"pg_version": "12",
"pg_version": "13",
},
CloudInfoService: sharedInfoSvc,
})
Expand Down Expand Up @@ -108,7 +108,7 @@ func TestRunCompleteExample(t *testing.T) {
BestRegionYAMLPath: regionSelectionPath,
ResourceGroup: resourceGroup,
TerraformVars: map[string]interface{}{
"pg_version": "12",
"pg_version": "13",
},
CloudInfoService: sharedInfoSvc,
})
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ variable "pg_version" {
validation {
condition = anytrue([
var.pg_version == null,
var.pg_version == "17",
var.pg_version == "16",
var.pg_version == "15",
var.pg_version == "14",
var.pg_version == "13",
var.pg_version == "12"
])
error_message = "Version must be 12, 13, 14, 15 or 16. If no value passed, the current ICD preferred version is used."
}
Expand Down

0 comments on commit 1739da7

Please sign in to comment.