kinesis and subscription filter for logs creation skipped when watchToEnd false

pull/479/head
Frostebite 2022-12-10 02:38:53 +00:00
parent d98c72824d
commit 0730f1a883
3 changed files with 5 additions and 1 deletions

2
dist/index.js vendored
View File

@ -1516,6 +1516,7 @@ class AWSJobStack {
Parameters: parameters,
};
try {
cloud_runner_logger_1.default.log(`Creating job aws formation`);
yield CF.createStack(createStackInput).promise();
yield CF.waitFor('stackCreateComplete', { StackName: taskDefStackName }).promise();
}
@ -1552,6 +1553,7 @@ class AWSJobStack {
};
if (cloud_runner_options_1.default.useCleanupCron) {
try {
cloud_runner_logger_1.default.log(`Creating job cleanup formation`);
yield CF.createStack(createCleanupStackInput).promise();
yield CF.waitFor('stackCreateComplete', { StackName: createCleanupStackInput.StackName }).promise();
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -142,6 +142,7 @@ export class AWSJobStack {
};
try {
CloudRunnerLogger.log(`Creating job aws formation`);
await CF.createStack(createStackInput).promise();
await CF.waitFor('stackCreateComplete', { StackName: taskDefStackName }).promise();
} catch (error) {
@ -178,6 +179,7 @@ export class AWSJobStack {
};
if (CloudRunnerOptions.useCleanupCron) {
try {
CloudRunnerLogger.log(`Creating job cleanup formation`);
await CF.createStack(createCleanupStackInput).promise();
await CF.waitFor('stackCreateComplete', { StackName: createCleanupStackInput.StackName }).promise();
} catch (error) {