fix: use AWS_SHARED_CREDENTIALS_FILE instead of smithy internals in tests

Replace the brittle @smithy/shared-ini-file-loader internals hack with
temp credential files and AWS_SHARED_CREDENTIALS_FILE/AWS_CONFIG_FILE
env vars, which is the official AWS SDK mechanism for this.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
This commit is contained in:
Fredrik Adelöw
2026-03-06 14:24:43 +01:00
parent d3cb061c5f
commit 6c865dbd1d
3 changed files with 18 additions and 18 deletions
-1
View File
@@ -4429,7 +4429,6 @@ __metadata:
"@backstage/config-loader": "workspace:^"
"@backstage/errors": "workspace:^"
"@backstage/test-utils": "workspace:^"
"@smithy/shared-ini-file-loader": "npm:^4.4.6"
aws-sdk-client-mock: "npm:^4.0.0"
aws-sdk-client-mock-jest: "npm:^4.0.0"
languageName: unknown