Skip to content

Commit 07ccd1d

Browse files
committed
var validation fix
1 parent 03bece6 commit 07ccd1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ variable "deployment_type" {
6767
type = string
6868
default = "parallel"
6969
validation {
70-
condition = contains(["parallel", "sequential"], var.mode)
70+
condition = contains(["parallel", "sequential"], var.deployment_type)
7171
error_message = "The pipeline mode must be 'parallel' or 'sequential'"
7272
}
7373
}

0 commit comments

Comments
 (0)