From a7308023bcdfec668f3934b9942465e2d79409a9 Mon Sep 17 00:00:00 2001 From: Zachary Blasczyk Date: Thu, 26 Sep 2024 01:09:54 -0500 Subject: [PATCH] fix --- integrations/terraform-cloud-scanner/src/scanner.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/terraform-cloud-scanner/src/scanner.ts b/integrations/terraform-cloud-scanner/src/scanner.ts index da756021..ab03f660 100644 --- a/integrations/terraform-cloud-scanner/src/scanner.ts +++ b/integrations/terraform-cloud-scanner/src/scanner.ts @@ -163,8 +163,8 @@ function buildWorkspaceLink(workspace: Workspace): Record { async function getOrCreateProviderId(): Promise { return api .upsertTargetProvider({ - workspaceId: env.CTRLPLANE_WORKSPACE_ID.toString(), - name: env.CTRLPLANE_SCANNER_NAME.toString(), + workspaceId: env.CTRLPLANE_WORKSPACE_ID, + name: env.CTRLPLANE_SCANNER_NAME, }) .then(({ id }) => { logger.info(`Using provider ID: ${id}`);