File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ variable "scanner_version" {
2222 type = string
2323 default = " 0.11"
2424 validation {
25- condition = can (regex (" ^[0-9]+\\ .[0-9]+$ " , var. scanner_version ))
26- error_message = " The scanner version must be in the format of X.Y"
25+ condition = can (regex (" ^[0-9]+\\ .[0-9]+" , var. scanner_version ))
26+ error_message = " The scanner version must start with a number, followed by a period and a number ( X.Y) "
2727 }
2828}
2929
Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ variable "scanner_version" {
7272 type = string
7373 default = " 0.11"
7474 validation {
75- condition = can (regex (" ^[0-9]+\\ .[0-9]+$ " , var. scanner_version ))
76- error_message = " The scanner version must be in the format of X.Y"
75+ condition = can (regex (" ^[0-9]+\\ .[0-9]+" , var. scanner_version ))
76+ error_message = " The scanner version must start with a number, followed by a period and a number ( X.Y) "
7777 }
7878}
7979
You can’t perform that action at this time.
0 commit comments