aws-garbage-collect do not actually delete anything for now - just list
parent
3648e43fc5
commit
09c06d936d
|
|
@ -1228,8 +1228,6 @@ class AWSCLICommands {
|
|||
const stacks = ((_a = (yield CF.listStacks().promise()).StackSummaries) === null || _a === void 0 ? void 0 : _a.filter((_x) => _x.StackStatus !== 'DELETE_COMPLETE')) || [];
|
||||
for (const element of stacks) {
|
||||
cloud_runner_logger_1.default.log(JSON.stringify(element, undefined, 4));
|
||||
if (input_1.default.cloudRunnerTests)
|
||||
yield CF.deleteStack({ StackName: element.StackName }).promise();
|
||||
}
|
||||
cloud_runner_logger_1.default.log(`ECS Clusters`);
|
||||
const ecs = new aws_sdk_1.default.ECS();
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -13,7 +13,6 @@ export class AWSCLICommands {
|
|||
(await CF.listStacks().promise()).StackSummaries?.filter((_x) => _x.StackStatus !== 'DELETE_COMPLETE') || [];
|
||||
for (const element of stacks) {
|
||||
CloudRunnerLogger.log(JSON.stringify(element, undefined, 4));
|
||||
if (Input.cloudRunnerTests) await CF.deleteStack({ StackName: element.StackName }).promise();
|
||||
}
|
||||
CloudRunnerLogger.log(`ECS Clusters`);
|
||||
const ecs = new AWS.ECS();
|
||||
|
|
|
|||
Loading…
Reference in New Issue