generators/aws-containers/lib/cloudFormation.js
function _getStackLogLine(stack, indentation = 0) {
    const time = chalk.blue(`${stack.Timestamp.toLocaleTimeString()}`);
    const spacing = _.repeat('\t', indentation);
    const status = _formatStatus(stack.ResourceStatus);

    const stackName = chalk.grey(stack.StackName);
    const resourceType = chalk.bold(stack.ResourceType);
    return `${time} ${spacing}${status} ${resourceType}\t${stackName}`;
}
function _getStackLogLine(stack, indentation = 0) {
    const time = chalk.blue(`${stack.Timestamp.toLocaleTimeString()}`);
    const spacing = _.repeat('\t', indentation);
    const status = _formatStatus(stack.ResourceStatus);

    const stackName = chalk.grey(stack.StackName);
    const resourceType = chalk.bold(stack.ResourceType);
    return `${time} ${spacing}${status} ${resourceType}\t${stackName}`;
}
function _getStackLogLine ( stack , indentation = 0 ) { const time = chalk . blue ( ` ${ stack . Timestamp . toLocaleTimeString ( ) } ` ) ; const spacing = _ . repeat ( '\t' , indentation ) ; const status = _formatStatus ( stack . ResourceStatus ) ; const stackName = chalk . grey ( stack . StackName ) ; const resourceType = chalk . bold ( stack . ResourceType ) ; return ` ${ time } ${ spacing } ${ status } ${ resourceType } \t ${ stackName } ` ; }
Generate an enriched string to display a CloudFormation Stack creation event.
@param stack Stack event
@param indentation level of indentation to display (between the date and the rest of the log)
@returns {string}
@private
Generate an enriched string to display a CloudFormation Stack creation event .