From ea394672144abe759ea7aed71c7d81d176c305e5 Mon Sep 17 00:00:00 2001 From: galargh Date: Thu, 18 Apr 2024 18:21:19 +0200 Subject: [PATCH] fix: webhook expects REPOSITORY_ALLOW_LIST env var --- modules/webhook/webhook.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/webhook/webhook.tf b/modules/webhook/webhook.tf index 6b90839054..b0f1022475 100644 --- a/modules/webhook/webhook.tf +++ b/modules/webhook/webhook.tf @@ -29,7 +29,7 @@ resource "aws_lambda_function" "webhook" { POWERTOOLS_TRACER_CAPTURE_HTTPS_REQUESTS = var.tracing_config.capture_http_requests POWERTOOLS_TRACER_CAPTURE_ERROR = var.tracing_config.capture_error PARAMETER_GITHUB_APP_WEBHOOK_SECRET = var.github_app_parameters.webhook_secret.name - REPOSITORY_WHITE_LIST = jsonencode(var.repository_white_list) + REPOSITORY_ALLOW_LIST = jsonencode(var.repository_white_list) SQS_WORKFLOW_JOB_QUEUE = try(var.sqs_workflow_job_queue, null) != null ? var.sqs_workflow_job_queue.id : "" PARAMETER_RUNNER_MATCHER_CONFIG_PATH = aws_ssm_parameter.runner_matcher_config.name }