Skip to content

Error thrown when variable is used in a config source job block #24

Description

@carlosreyna-bread

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
    }
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions