From 217675bd83b266d13aaf7fd6e5c748d43406e3d6 Mon Sep 17 00:00:00 2001 From: "martin.mueller" Date: Sun, 3 Jan 2021 16:40:16 +0100 Subject: [PATCH] feat: debug codebuild env --- src/pipeline-stack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipeline-stack.ts b/src/pipeline-stack.ts index fc1ece8..0150cc7 100644 --- a/src/pipeline-stack.ts +++ b/src/pipeline-stack.ts @@ -124,7 +124,7 @@ export class PipelineStack extends core.Stack { stageAccount, ); - console.log(`Env: ${JSON.stringify(props.env)}`); + console.log(`Env: ${JSON.stringify(process.env)}`); new core.CfnOutput(customStage.customStack, 'Stage', { value: stageAccount.stage || 'not set!' }); new core.CfnOutput(customStage.customStack, 'CommitID', { value: process.env.CODEBUILD_RESOLVED_SOURCE_VERSION || 'not set!' });