From f426b8d1c56ac6a8bbdaf1537b01a1655b121d6d Mon Sep 17 00:00:00 2001 From: yairra Date: Thu, 28 Sep 2023 11:09:24 +0300 Subject: [PATCH] GCP TF | Single GW | Added SIC validation --- terraform/gcp/single-into-existing-vpc/locals.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/gcp/single-into-existing-vpc/locals.tf b/terraform/gcp/single-into-existing-vpc/locals.tf index c5e91fd4..a0522085 100755 --- a/terraform/gcp/single-into-existing-vpc/locals.tf +++ b/terraform/gcp/single-into-existing-vpc/locals.tf @@ -15,7 +15,7 @@ locals { regex_valid_sicKey = "^([a-z0-9A-Z]{8,30})$" // Will fail if var.sicKey is invalid - regex_sicKey = regex(local.regex_valid_sicKey, var.sicKey) == var.sicKey ? 0 : "Variable [sicKey] must be at least 8 alpha numeric characters." + regex_sicKey = regex(local.regex_valid_sicKey, var.sicKey) == var.sicKey ? 0 : "Variable [sicKey] must be at least 8 alphanumeric characters." regex_validate_mgmt_image_name = "check-point-r8[0-1][1-4]0-(byol|payg)-[0-9]{3}-([0-9]{3,}|[a-z]+)-v[0-9]{8,}" regex_validate_single_image_name = "check-point-r8[0-1][1-4]0-gw-(byol|payg)-single-[0-9]{3}-([0-9]{3,}|[a-z]+)-v[0-9]{8,}"