Skip to content

Commit d1ad024

Browse files
committed
enable eventbride mode for multi-runner
1 parent 1041336 commit d1ad024

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

examples/multi-runner/main.tf

+4
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ module "runners" {
7777
id = var.github_app.id
7878
webhook_secret = random_id.random.hex
7979
}
80+
81+
# Deploy webhook in EventBridge mode
82+
webhook_mode = "eventbridge"
83+
8084
# enable this section for tracing
8185
# tracing_config = {
8286
# mode = "Active"

modules/webhook/variables.tf

-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ variable "matcher_config_parameter_store_tier" {
214214
variable "mode" {
215215
description = "The webhook and dispatching to runner queues supports two modes. Direct messages, are delivered directly to the runner queues. EventBridge messages are delivered to an EventBridge bus and then dispatched to the runner queues. Valid values are `direct` and `eventbridge`."
216216
type = string
217-
default = "direct"
218217

219218
validation {
220219
condition = contains(["direct", "eventbridge"], var.mode)

0 commit comments

Comments
 (0)