Skip to content

Commit

Permalink
Merge pull request #34 from OpsLevel/db/check-package-version-variabl…
Browse files Browse the repository at this point in the history
…es-update

defaults for package_version variables, bool type fix
  • Loading branch information
davidbloss authored Oct 22, 2024
2 parents 0f47fa7 + 571f6c3 commit dc7d7b0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions modules/check/package_version/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ variable "package_name" {
}

variable "package_name_is_regex" {
type = string
description = "Whether or not the value in the package name field is a regular expression. (Optional.)"
type = bool
description = "Whether or not the value in the package name field is a regular expression. (Optional)"
default = null
}

variable "version_constraint_predicate" {
type = object({
type = string
value = optional(string)
})
description = "A condition that should be satisfied."
description = "The predicate that describes the version constraint the package must satisfy. (Optional)"
default = null
}

0 comments on commit dc7d7b0

Please sign in to comment.