Do not wait for delete_complete stacks

pull/310/head
Frostebite 2021-11-06 20:56:38 +00:00
parent c64b2d1bdd
commit 9f4924afd6
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -947,7 +947,7 @@ class AWSJobStack {
}
for (let index = 0; index < stacks.StackSummaries.length; index++) {
const element = stacks.StackSummaries[index];
if (element.StackName === taskDefStackName) {
if (element.StackName === taskDefStackName && element.StackStatus !== 'DELETE_COMPLETE') {
previousStackExists = true;
cloud_runner_logger_1.default.log(`Previous stack still exists: ${JSON.stringify(element)}`);
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -110,7 +110,7 @@ export class AWSJobStack {
}
for (let index = 0; index < stacks.StackSummaries.length; index++) {
const element = stacks.StackSummaries[index];
if (element.StackName === taskDefStackName) {
if (element.StackName === taskDefStackName && element.StackStatus !== 'DELETE_COMPLETE') {
previousStackExists = true;
CloudRunnerLogger.log(`Previous stack still exists: ${JSON.stringify(element)}`);
}