Skip to content

Commit

Permalink
Merge pull request #15 from frozen425/patch-1
Browse files Browse the repository at this point in the history
Fixed un-terminated regex pattern
  • Loading branch information
rarsan authored May 23, 2022
2 parents cc656e8 + 180f606 commit 239c447
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 239c447

Please sign in to comment.