Skip to content

Commit

Permalink
Create variables.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
mandeeps13k authored May 30, 2023
1 parent 1242f70 commit b13abf3
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions modules/gcp-test/variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
variable "gcp_project" {
type = string
description = "The project to run against"
}

variable "name" {
type = string
description = "Name for the ServiceAccount, PubSub, Sink components"
}

variable "allowed_persistence_regions" {
type = list(string)
description = "A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage."
}

variable "sink_filter" {
type = string
description = "Filter for the sink (logs router)"
default = "resource.type = \"http_load_balancer\""
}

variable "pubsub_message_retention_duration" {
type = string
description = "Message retention duration in the PubSub"
default = "604800s"
}

variable "pubsub_retain_acked_messages" {
type = bool
description = "Retain acked message or not"
default = false
}

variable "pubsub_ack_deadline_seconds" {
type = number
description = "Message retention duration in the PubSub"
default = 15
}

variable "create_sa_key" {
type = bool
description = "Create service account key"
default = false
}

0 comments on commit b13abf3

Please sign in to comment.