From 6162e813b42851eb09f151cc880389880c5cc938 Mon Sep 17 00:00:00 2001 From: csavulalfx Date: Mon, 4 Mar 2024 15:40:12 +0530 Subject: [PATCH] Add aws-sdk Signed-off-by: csavulalfx --- .circleci/config.yml | 1 - package.json | 1 + src/app/config/scripts/prefetch-ssm.js | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5746add..f9006d3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -37,7 +37,6 @@ jobs: command: | echo "Node version is: $(node --version)" echo "Running top level install..." - yarn add aws-sdk yarn install --non-interactive no_output_timeout: 10m - run: diff --git a/package.json b/package.json index cf7be26..fa632e3 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "ng": "ng", "serve": "ng serve", "build": "ng build", + "aws-sdk": "yarn add aws-sdk", "serve:dev:local": "yarn prebuild:dev && ng serve --port 8100", "build:dev": "yarn prebuild:dev && ng build --prod --configuration=dev", "build:staging": "yarn prebuild:staging && ng build --prod --configuration=staging", diff --git a/src/app/config/scripts/prefetch-ssm.js b/src/app/config/scripts/prefetch-ssm.js index b48e59d..3ab898f 100644 --- a/src/app/config/scripts/prefetch-ssm.js +++ b/src/app/config/scripts/prefetch-ssm.js @@ -1,6 +1,5 @@ // Copyright The Linux Foundation and each contributor to CommunityBridge. // SPDX-License-Identifier: MIT -const AWS = require('aws-sdk'); const fs = require('fs'); const RetrieveSSMValues = require('./read-ssm'); const configVarArray = ['auth0-clientId', 'auth0-domain', 'proj-console-link', 'corp-console-link', 'lfx-header', 'lfx-footer', 'corporate-v2-base', 'api-base', 'api-v4-base', 'admin-v2-base'];