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 diff --git a/src/commands/clear-account.js b/src/commands/clear-account.js index 771c774..3e8af8d 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(""); } }