-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1242f70
commit b13abf3
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |