Skip to content

Commit 105624e

Browse files
committed
Rebase
fix: terraform error fix: terraform error
1 parent 510db35 commit 105624e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/webhook/webhook.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ resource "aws_lambda_function" "webhook" {
1212

1313
environment {
1414
variables = {
15-
ENVIRONMENT = var.environment
16-
SQS_URL_WEBHOOK = var.sqs_build_queue.id
17-
REPOSITORY_WHITE_LIST = jsonencode(var.repository_white_list)
18-
SQS_URL_WEBHOOK = var.sqs_build_queue.id
19-
REPOSITORY_WHITE_LIST = jsonencode(var.repository_white_list)
20-
RUNNER_LABELS = jsonencode(var.runner_extra_labels)
15+
ENVIRONMENT = var.environment
16+
KMS_KEY_ID = var.encryption.kms_key_id
17+
GITHUB_APP_WEBHOOK_SECRET = local.github_app_webhook_secret
18+
SQS_URL_WEBHOOK = var.sqs_build_queue.id
19+
REPOSITORY_WHITE_LIST = jsonencode(var.repository_white_list)
20+
RUNNER_LABELS = jsonencode(var.runner_extra_labels)
2121
}
2222
}
2323

0 commit comments

Comments
 (0)