From 2fb3dacbdba1ca5347ddc4b119f23579315c1d6d Mon Sep 17 00:00:00 2001 From: Efi Merdler-Kravitz <43570637+efimk-lu@users.noreply.github.com> Date: Mon, 22 Feb 2021 00:50:44 +0200 Subject: [PATCH 1/4] Clear eventBridge first --- src/commands/clear-account.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/clear-account.js b/src/commands/clear-account.js index 771c774..2263977 100644 --- a/src/commands/clear-account.js +++ b/src/commands/clear-account.js @@ -229,6 +229,8 @@ class ClearAccountCommand extends Command { async clearEnvironment(AWS) { await this.clearS3(AWS); console.info(""); + await this.clearEventBridges(AWS); + console.info(""); await this.clearCF(AWS); console.info(""); await this.clearApiGw(AWS); @@ -243,8 +245,6 @@ class ClearAccountCommand extends Command { console.info(""); await this.clearPolicies(AWS); console.info(""); - await this.clearEventBridges(AWS); - console.info(""); } } From 4bdaaeb52c2f1553386d2913687105c53ff40ea8 Mon Sep 17 00:00:00 2001 From: Efi Merdler-Kravitz <43570637+efimk-lu@users.noreply.github.com> Date: Mon, 22 Feb 2021 00:58:50 +0200 Subject: [PATCH 2/4] Update clear-account.js --- src/commands/clear-account.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/clear-account.js b/src/commands/clear-account.js index 2263977..5190789 100644 --- a/src/commands/clear-account.js +++ b/src/commands/clear-account.js @@ -228,7 +228,7 @@ class ClearAccountCommand extends Command { async clearEnvironment(AWS) { await this.clearS3(AWS); - console.info(""); + console.info(""); await this.clearEventBridges(AWS); console.info(""); await this.clearCF(AWS); From a71a7cf7cd9493d736aad0ebe9fea06564563ac8 Mon Sep 17 00:00:00 2001 From: efimk Date: Mon, 22 Feb 2021 01:05:01 +0200 Subject: [PATCH 3/4] fix: indentention --- src/commands/clear-account.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/clear-account.js b/src/commands/clear-account.js index 5190789..3e8af8d 100644 --- a/src/commands/clear-account.js +++ b/src/commands/clear-account.js @@ -228,8 +228,8 @@ class ClearAccountCommand extends Command { async clearEnvironment(AWS) { await this.clearS3(AWS); - console.info(""); - await this.clearEventBridges(AWS); + console.info(""); + await this.clearEventBridges(AWS); console.info(""); await this.clearCF(AWS); console.info(""); From 45f538139ec55902c4e579317388cc2eb86e9abc Mon Sep 17 00:00:00 2001 From: efimk Date: Thu, 25 Feb 2021 17:01:46 +0200 Subject: [PATCH 4/4] build: bump node --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 866839b..0b0face 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2 jobs: build: docker: - - image: circleci/node:10.16.0 + - image: circleci/node:14.3 working_directory: ~/lumigo-cli steps: - checkout @@ -13,7 +13,7 @@ jobs: deploy: docker: - - image: circleci/node:10.16.0 + - image: circleci/node:14.3 working_directory: ~/lumigo-cli steps: - checkout