Skip to content

Commit

Permalink
fixed mode variable condition
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizSutil committed Aug 22, 2023
1 parent ab7c284 commit e24e27e
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 @@ -24,7 +24,7 @@ variable "mode" {
default = "complete"

validation {
condition = contains(["complete", "requester", "accepter"])
condition = contains(["complete", "requester", "accepter"], var.mode)
error_message = "Valid values for mode are: (complete, requester, accepter)"
}
}
Expand Down

0 comments on commit e24e27e

Please sign in to comment.