1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-06 23:12:22 +00:00
terraform-playground/driftlessaf/trigger.tf
copilot-swe-agent[bot] 7cbd7ac6ea Add pr-risk-scorer service and Terraform infrastructure with LLM integration
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-18 17:26:31 +00:00

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
}