Skip to content

Commit

Permalink
Add configuration for pubsub consumers to sigstore module (#957)
Browse files Browse the repository at this point in the history
Needed to configure in public instance deployment

Signed-off-by: Hayden Blauzvern <[email protected]>
  • Loading branch information
haydentherapper authored Jan 26, 2024
1 parent 1901c68 commit 52cc2e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/gcp/modules/sigstore/sigstore.tf
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ module "rekor" {
dns_zone_name = var.dns_zone_name
dns_domain_name = var.dns_domain_name

new_entry_pubsub_consumers = var.rekor_new_entry_pubsub_consumers

redis_cluster_memory_size_gb = var.redis_cluster_memory_size_gb

depends_on = [
Expand Down
5 changes: 5 additions & 0 deletions terraform/gcp/modules/sigstore/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,11 @@ variable "rekor_key_name" {
default = "rekor-key"
}

variable "rekor_new_entry_pubsub_consumers" {
type = list(string)
description = "List of IAM principals that can subscribe to events about new entries in the log"
}

variable "timestamp" {
type = object({
enabled = bool
Expand Down

0 comments on commit 52cc2e1

Please sign in to comment.