Skip to content

Commit

Permalink
Fixed un-terminated regex pattern
Browse files Browse the repository at this point in the history
regex was missing closing paren
  • Loading branch information
frozen425 authored May 23, 2022
1 parent cc656e8 commit 180f606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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])."
}
}
Expand Down

0 comments on commit 180f606

Please sign in to comment.