Skip to content

Commit

Permalink
Sane defaults for org, repo, product
Browse files Browse the repository at this point in the history
  • Loading branch information
socketbox committed Sep 27, 2023
1 parent 87de7b9 commit d6e016f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tags.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ variable "product" {
condition = can(regex("[a-z\\-]+", var.product))
error_message = "The product variable violates approved regex."
}
default = "pbsorg"
}

variable "repo" {
Expand All @@ -23,6 +24,7 @@ variable "repo" {
condition = can(regex("(?:git|ssh|https?|git@[-\\w.]+):(\\/\\/)?(.*?)(\\.git)(\\/?|\\#[-\\d\\w._]+?)$", var.repo))
error_message = "The repo variable violates approved regex."
}
default = "[email protected]:pbs/pbsorg"
}

variable "organization" {
Expand All @@ -32,6 +34,9 @@ variable "organization" {
condition = can(regex("[a-z\\-]+", var.organization))
error_message = "The organization variable violates approved regex."
}
default = "pbs"
}

variable "owner" {
description = "The group within PBS that is accountable for the project using this module."
type = string
Expand Down

0 comments on commit d6e016f

Please sign in to comment.