Skip to content

Commit 566831f

Browse files
authored
feat: add support for redis 7.2 version (#360)
1 parent dd3d1db commit 566831f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

tests/pr_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func TestRunRedisFSCloudExample(t *testing.T) {
5757
*/
5858
//ResourceGroup: resourceGroup,
5959
TerraformVars: map[string]interface{}{
60-
"redis_version": "6.2", // Always lock this test into the latest supported Redis version
60+
"redis_version": "7.2", // Always lock this test into the latest supported Redis version
6161
"existing_kms_instance_guid": permanentResources["hpcs_south"],
6262
"kms_key_crn": permanentResources["hpcs_south_root_key_crn"],
6363
},

variables.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ variable "redis_version" {
1414
validation {
1515
condition = anytrue([
1616
var.redis_version == null,
17-
var.redis_version == "6.2"
17+
var.redis_version == "6.2",
18+
var.redis_version == "7.2"
1819
])
19-
error_message = "Version must be 6.2. If no value passed, the current ICD preferred version is used."
20+
error_message = "Version must be 6.2 or 7.2. If no value passed, the current ICD preferred version is used."
2021
}
2122
}
2223

0 commit comments

Comments
 (0)