From 508e2ff0ad969d265e10f5f34f6c6e129bcd1616 Mon Sep 17 00:00:00 2001 From: "martin.mueller" Date: Sun, 3 Jan 2021 16:07:36 +0100 Subject: [PATCH] feat: logs build info more to cfn outputs --- src/custom-stack.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/custom-stack.ts b/src/custom-stack.ts index af0dd5f..f61f453 100644 --- a/src/custom-stack.ts +++ b/src/custom-stack.ts @@ -1,8 +1,8 @@ import * as core from '@aws-cdk/core'; -export interface CustomStackProps extends core.StackProps { - readonly authorDate: string; -} +// export interface CustomStackProps extends core.StackProps { +// readonly authorDate: string; +// } /** * The Pipeline will automatically append the following CfnOutputs partly token from CodeBuild: @@ -21,9 +21,9 @@ export class CustomStack extends core.Stack { // Necessary to wrap the CfnOutputs and make them available for the testCommands cfnOutputs: Record = {}; - constructor(scope: core.Construct, id: string, props?: CustomStackProps) { + constructor(scope: core.Construct, id: string, props?: core.StackProps) { super(scope, id, props); - new core.CfnOutput(this, 'AuthorDate2', { value: props?.authorDate || 'not set!' }); + // new core.CfnOutput(this, 'AuthorDate2', { value: props?.authorDate || 'not set!' }); }; }