From f2e638887b85fa894d7129bc939bb16cfc44d74d Mon Sep 17 00:00:00 2001 From: Khuzaima Shakeel <56439894+Khuzaima05@users.noreply.github.com> Date: Fri, 2 Aug 2024 20:15:43 +0530 Subject: [PATCH] feat: added support for v16 (#462) Co-authored-by: Khuzaima-Shakeel --- tests/pr_test.go | 2 +- variables.tf | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/pr_test.go b/tests/pr_test.go index bfc27b3e..22304ce5 100644 --- a/tests/pr_test.go +++ b/tests/pr_test.go @@ -60,7 +60,7 @@ func TestRunFSCloudExample(t *testing.T) { "access_tags": permanentResources["accessTags"], "existing_kms_instance_guid": permanentResources["hpcs_south"], "kms_key_crn": permanentResources["hpcs_south_root_key_crn"], - "pg_version": "15", // Always lock this test into the latest supported Postgres version + "pg_version": "16", // Always lock this test into the latest supported Postgres version }, CloudInfoService: sharedInfoSvc, }) diff --git a/variables.tf b/variables.tf index e8cd9da0..efa13e57 100644 --- a/variables.tf +++ b/variables.tf @@ -25,12 +25,13 @@ variable "pg_version" { validation { condition = anytrue([ var.pg_version == null, + 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 or 15. If no value passed, the current ICD preferred version is used." + error_message = "Version must be 12, 13, 14, 15 or 16. If no value passed, the current ICD preferred version is used." } }