From 180f6065a9f284cd38b9324e15d60a2c7615fc0f Mon Sep 17 00:00:00 2001 From: Gomez <44623899+frozen425@users.noreply.github.com> Date: Mon, 23 May 2022 16:59:24 -0400 Subject: [PATCH] Fixed un-terminated regex pattern regex was missing closing paren --- variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variables.tf b/variables.tf index 67217bd..ab530df 100644 --- a/variables.tf +++ b/variables.tf @@ -85,7 +85,7 @@ variable "dataflow_worker_service_account" { validation { condition = (var.dataflow_worker_service_account == "" || - can(regex("[a-z]([-a-z0-9]*[a-z0-9]", var.dataflow_worker_service_account))) + can(regex("[a-z]([-a-z0-9]*[a-z0-9])", var.dataflow_worker_service_account))) error_message = "Dataflow worker service account id must match the regular expression [a-z]([-a-z0-9]*[a-z0-9])." } }