Skip to content

Commit

Permalink
WIP Adds logging for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazzer committed Jun 21, 2024
1 parent e4e1fe4 commit 99ab943
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 @@ -8,6 +8,7 @@ export async function getStackDescription(StackName: string, expectTerminalStatu
const stacks = await (async () => {
if (expectTerminalStatus) {
while (!_.includes(TERMINAL, (await cfn.describeStacks({StackName}).promise()).Stacks![0].StackStatus)) {
console.log('Encountered non-terminal stack status while expecting a terminal stack status');
await new Promise(resolve => setTimeout(resolve, 1000));
}
}
Expand Down

0 comments on commit 99ab943

Please sign in to comment.