1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-13 01:48:30 +00:00
terraform-playground/driftlessaf/recorder.tf
Jason Hall a0b5d1f369 vars
Signed-off-by: Jason Hall <jason@chainguard.dev>
2026-02-03 13:43:18 -05:00

25 lines
870 B
HCL

module "github-events-recorder" {
source = "chainguard-dev/common/infra//modules/cloudevent-recorder"
method = "gcs"
project_id = var.project_id
name = "github-events-recorder"
regions = module.networking.regional-networks
broker = module.cloudevent-broker.broker
# Identity applying terraform (needed for BQ DTS permissions)
provisioner = "user:jason@chainguard.dev"
# BigQuery location and retention
location = "US"
retention-period = 30 # days
# Record all GitHub event types using schemas from github-events module
# Must set ignore_unknown_values since GitHub payloads have more fields than the schema
types = module.github-events.recorder-schemas
ignore_unknown_values = true
team = var.team
notification_channels = []
deletion_protection = var.deletion_protection
}