Skip to content

Commit

Permalink
WIP forces a log to show for every execution
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazzer committed Jun 21, 2024
1 parent 99ab943 commit 31e872b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cfn/getStackDescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import * as aws from 'aws-sdk'

export async function getStackDescription(StackName: string, expectTerminalStatus: boolean = false): Promise<aws.CloudFormation.Stack> {
const cfn = new aws.CloudFormation();
console.log('Getting stack description');
const stacks = await (async () => {
if (expectTerminalStatus) {
while (!_.includes(TERMINAL, (await cfn.describeStacks({StackName}).promise()).Stacks![0].StackStatus)) {
Expand Down

0 comments on commit 31e872b

Please sign in to comment.