Skip to content

Commit 810f83e

Browse files
tcnghiamgreau
authored andcommitted
Export d3441a15e17ac655acc0d9d4f4053f0700be034e
Export: d3441a15e17ac655acc0d9d4f4053f0700be034e
1 parent 62f6dc8 commit 810f83e

8 files changed

Lines changed: 36 additions & 0 deletions

File tree

modules/github-metapathreconciler/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module "reconciler" {
3838
resync_period_hours = var.resync_period_hours
3939
broker = var.broker
4040
paused = var.paused
41+
error_event_broker = var.error_event_broker
4142
}
4243

4344
# CloudEvents to Workqueue bridge for pull request events

modules/github-metapathreconciler/variables.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ variable "broker" {
3636
type = map(string)
3737
}
3838

39+
variable "error_event_broker" {
40+
description = "Optional CloudEvents broker for emitting reconciler error events. When set, the dispatcher publishes a CloudEvent for each reconciliation error (requeue, dead-letter, or drop). Set to null to disable."
41+
type = object({
42+
name = string
43+
})
44+
default = null
45+
}
46+
3947
variable "containers" {
4048
description = "The containers to run in the service."
4149
type = map(object({

modules/github-metareconciler/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module "reconciler" {
2727

2828
notification_channels = var.notification_channels
2929
deletion_protection = var.deletion_protection
30+
error_event_broker = var.error_event_broker
3031
}
3132

3233
# CloudEvents to Workqueue bridge for issue events

modules/github-metareconciler/variables.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ variable "broker" {
3636
type = map(string)
3737
}
3838

39+
variable "error_event_broker" {
40+
description = "Optional CloudEvents broker for emitting reconciler error events. When set, the dispatcher publishes a CloudEvent for each reconciliation error (requeue, dead-letter, or drop). Set to null to disable."
41+
type = object({
42+
name = string
43+
})
44+
default = null
45+
}
46+
3947
variable "filters" {
4048
description = "CloudEvents filters for selecting events to process (applied to both issue and PR events)"
4149
type = list(map(string))

modules/github-path-reconciler/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ module "reconciler" {
3131
notification_channels = var.notification_channels
3232
workqueue_cpu_idle = var.workqueue_cpu_idle
3333
slo = var.slo
34+
error_event_broker = var.error_event_broker
3435
}
3536

3637
# Authorize the service account to call the receiver in each region

modules/github-path-reconciler/variables.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,3 +343,11 @@ variable "broker" {
343343
description = "A map from each of the input region names to the name of the Broker topic in that region."
344344
type = map(string)
345345
}
346+
347+
variable "error_event_broker" {
348+
description = "Optional CloudEvents broker for emitting reconciler error events. When set, the dispatcher publishes a CloudEvent for each reconciliation error (requeue, dead-letter, or drop). Set to null to disable."
349+
type = object({
350+
name = string
351+
})
352+
default = null
353+
}

modules/linear-metareconciler/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module "reconciler" {
2727

2828
notification_channels = var.notification_channels
2929
deletion_protection = var.deletion_protection
30+
error_event_broker = var.error_event_broker
3031
}
3132

3233
# CloudEvents to Workqueue bridge for issue events

modules/linear-metareconciler/variables.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ variable "broker" {
3636
type = map(string)
3737
}
3838

39+
variable "error_event_broker" {
40+
description = "Optional CloudEvents broker for emitting reconciler error events. When set, the dispatcher publishes a CloudEvent for each reconciliation error (requeue, dead-letter, or drop). Set to null to disable."
41+
type = object({
42+
name = string
43+
})
44+
default = null
45+
}
46+
3947
variable "issue_filters" {
4048
description = <<EOD
4149
CloudEvents filters for selecting Linear issue events to process.

0 commit comments

Comments
 (0)