Skip to content

Commit

Permalink
chore(deploy): log status check results
Browse files Browse the repository at this point in the history
  • Loading branch information
shanedg committed Apr 21, 2024
1 parent 1391175 commit 43b818c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ let attempts = 0;
do {
attempts += 1;
const statusResult = await checkInstanceStatusWithDelay();
console.log(`status result: ${JSON.stringify(statusResult, null, 2)}`);
if (statusResult.InstanceStatuses[0].InstanceState.Name === 'running') {
isReady = true;
console.log(`next instance running (${attempts}/${maxAttempts})`);
Expand Down

0 comments on commit 43b818c

Please sign in to comment.