From 8c154d65055233a1c421ae5bb119de6c03213f56 Mon Sep 17 00:00:00 2001 From: Armando Luja Date: Tue, 26 Nov 2024 14:28:29 -0800 Subject: [PATCH] chore: remove duplicate code for loading aws profile --- packages/amplify-e2e-tests/src/__tests__/import_s3_3.test.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/amplify-e2e-tests/src/__tests__/import_s3_3.test.ts b/packages/amplify-e2e-tests/src/__tests__/import_s3_3.test.ts index ab032ff2ea2..0e8ed5e3883 100644 --- a/packages/amplify-e2e-tests/src/__tests__/import_s3_3.test.ts +++ b/packages/amplify-e2e-tests/src/__tests__/import_s3_3.test.ts @@ -19,8 +19,6 @@ import { getS3ResourceName, } from '../import-helpers'; -const profileName = 'amplify-integ-test-user'; - describe('headless s3 import', () => { const projectPrefix = 'sssheadimp'; const bucketPrefix = 'sss-headless-import-test'; @@ -38,9 +36,6 @@ describe('headless s3 import', () => { const shortId = getShortId(); bucketNameToImport = `${bucketPrefix}${shortId}`; - const credentials = new aws.SharedIniFileCredentials({ profile: profileName }); - aws.config.credentials = credentials; - const s3 = new aws.S3(); await s3