Skip to content

Commit

Permalink
Make project_number optional
Browse files Browse the repository at this point in the history
project_number is only used for monitoring, so if monitoring is not
enabled then it is not needed.

Signed-off-by: Colleen Murphy <[email protected]>
  • Loading branch information
cmurphy committed May 10, 2024
1 parent 81452a4 commit a4af34a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions terraform/gcp/modules/sigstore/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ variable "project_id" {
}

variable "project_number" {
type = string
validation {
condition = length(var.project_number) > 0
error_message = "Must specify project_number variable."
}
type = string
default = ""
}

variable "region" {
Expand Down

0 comments on commit a4af34a

Please sign in to comment.