Skip to content

Commit 0c16c55

Browse files
committed
adjust outputs
1 parent 3b5b3d5 commit 0c16c55

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

modules/multi-runner/outputs.tf

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ output "webhook" {
3838
lambda_log_group = module.webhook.lambda_log_group
3939
lambda_role = module.webhook.role
4040
endpoint = "${module.webhook.gateway.api_endpoint}/${module.webhook.endpoint_relative_path}"
41+
webhook = module.webhook.webhook
42+
dispatcher = var.webhook_mode == "eventbridge" ? module.webhook.dispatcher : null
43+
eventbridge = var.webhook_mode == "eventbridge" ? module.webhook.eventbridge : null
4144
}
4245
}
4346

modules/webhook/eventbridge/outputs.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
output "eventbridge" {
22
value = {
3-
event_but = aws_cloudwatch_event_bus.main
3+
event_bus = aws_cloudwatch_event_bus.main
44
archive = aws_cloudwatch_event_archive.main
55
}
66
}

0 commit comments

Comments
 (0)