Skip to content

Commit

Permalink
update prefix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
cageyv committed Jan 14, 2021
1 parent eb73338 commit baf473c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ variable "prefix" {
type = string
default = "default"
validation {
condition = !contains(["aws", "lambda-console", "elasticbeanstalk"], var.prefix)
error_message = "Impossible to use `aws`,`lambda-console`,`elasticbeanstalk` here."
condition = !contains(["aws", "lambda-console", "elasticbeanstalk", "AWS"], var.prefix)
error_message = "Impossible to use `aws`,`lambda-console`,`elasticbeanstalk`, `AWS` here."
}
}

Expand Down

0 comments on commit baf473c

Please sign in to comment.