When var is used in a config source job block, it throws an error.
Error message:
Unknown variable; There is no variable named "var"
Example code that throws error:
variable "a" {
value = "some value"
}
config "aconfig" {
source job {
name = "ajob"
args = {
errors_on = "${var.a}"
also_errors = var.a
}
}
}