mirror of
https://github.com/imjasonh/terraform-playground
synced 2026-07-06 23:12:22 +00:00
45 lines
1.3 KiB
HCL
45 lines
1.3 KiB
HCL
module "pr-workqueue" {
|
|
source = "chainguard-dev/common/infra//modules/cloudevents-workqueue"
|
|
|
|
project_id = var.project_id
|
|
name = "pr-events"
|
|
regions = module.networking.regional-networks
|
|
broker = module.cloudevent-broker.broker
|
|
|
|
# Empty filter matches all events that have pullrequesturl extension
|
|
# This includes pull_request, issue_comment on PRs, pull_request_review, etc.
|
|
filters = [{}]
|
|
|
|
extension_key = "pullrequesturl"
|
|
|
|
workqueue = {
|
|
name = module.pr-reconciler.receiver.name
|
|
}
|
|
|
|
team = var.team
|
|
notification_channels = []
|
|
deletion_protection = var.deletion_protection
|
|
}
|
|
|
|
module "pr-risk-scorer-workqueue" {
|
|
source = "chainguard-dev/common/infra//modules/cloudevents-workqueue"
|
|
|
|
project_id = var.project_id
|
|
name = "pr-risk-scorer-events"
|
|
regions = module.networking.regional-networks
|
|
broker = module.cloudevent-broker.broker
|
|
|
|
# Empty filter matches all events that have pullrequesturl extension
|
|
# This includes pull_request, issue_comment on PRs, pull_request_review, etc.
|
|
filters = [{}]
|
|
|
|
extension_key = "pullrequesturl"
|
|
|
|
workqueue = {
|
|
name = module.pr-risk-scorer.receiver.name
|
|
}
|
|
|
|
team = var.team
|
|
notification_channels = []
|
|
deletion_protection = var.deletion_protection
|
|
}
|