mirror of
https://github.com/imjasonh/terraform-playground
synced 2026-07-19 07:26:50 +00:00
Add Terraform infrastructure for pr-risk-scorer deployment
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
This commit is contained in:
parent
85c5b630ad
commit
ae34b14b29
4 changed files with 65 additions and 57 deletions
|
|
@ -20,3 +20,26 @@ module "pr-workqueue" {
|
|||
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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue