From 91038c28cc663eca7a983278e13ec26d0b90d05e Mon Sep 17 00:00:00 2001 From: Le Roux Bodenstein Date: Thu, 9 Nov 2023 14:57:17 +0000 Subject: [PATCH] tweak syntax, add logging --- packages/e2e-tests/test/e2e-aws.spec.ts | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/packages/e2e-tests/test/e2e-aws.spec.ts b/packages/e2e-tests/test/e2e-aws.spec.ts index fa07fae0e..4bf0d9435 100644 --- a/packages/e2e-tests/test/e2e-aws.spec.ts +++ b/packages/e2e-tests/test/e2e-aws.spec.ts @@ -308,17 +308,18 @@ describe('e2e AWS AUTH', function () { before(async function () { const contents = ` [default] -aws_access_key_id=${AWS_ACCESS_KEY_ID} -aws_secret_access_key=${AWS_SECRET_ACCESS_KEY} +aws_access_key_id = ${AWS_ACCESS_KEY_ID} +aws_secret_access_key = ${AWS_SECRET_ACCESS_KEY} -[user1] -aws_access_key_id=${AWS_ACCESS_KEY_ID} -aws_secret_access_key=${AWS_SECRET_ACCESS_KEY} +[profile user1] +aws_access_key_id = ${AWS_ACCESS_KEY_ID} +aws_secret_access_key = ${AWS_SECRET_ACCESS_KEY} -[invalid] -aws_access_key_id=invalid -aws_secret_access_key=invalid +[profile invalid] +aws_access_key_id = invalid +aws_secret_access_key = invalid `; + console.log({ awsConfigPath }); await fs.writeFile(awsConfigPath, contents, { encoding: 'utf8' }); });