Skip to content

Commit

Permalink
Add tests for code coverage (configs)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgetzen committed May 29, 2020
1 parent c4a87eb commit 062b484
Showing 1 changed file with 12 additions and 0 deletions.
@@ -0,0 +1,12 @@

locals {
foo = 1
}

variable "validation" {
default = 1
validation {
condition = var.validation == 1
error_message = "Must be ${local.foo}." # ERROR: Invalid reference in variable validation
}
}

0 comments on commit 062b484

Please sign in to comment.