Skip to content

Commit

Permalink
feat: logs build info more to cfn outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
martin.mueller committed Jan 3, 2021
1 parent fd1f905 commit 508e2ff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/custom-stack.ts
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -21,9 +21,9 @@ export class CustomStack extends core.Stack {
// Necessary to wrap the CfnOutputs and make them available for the testCommands
cfnOutputs: Record<string, core.CfnOutputProps> = {};

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!' });
};
}

0 comments on commit 508e2ff

Please sign in to comment.