We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7989d53 commit e9d1155Copy full SHA for e9d1155
lib/auth/join/iam/iam_test.go
@@ -38,6 +38,10 @@ func TestCreateSignedSTSIdentityRequest(t *testing.T) {
38
t.Setenv("AWS_SECRET_ACCESS_KEY", "FAKE_KEY")
39
t.Setenv("AWS_SESSION_TOKEN", "FAKE_SESSION_TOKEN")
40
41
+ // If the user has an AWS config file that sets a region, it conflicts with
42
+ // the test cases. Disable loading a config file by setting a nonexistent path.
43
+ t.Setenv("AWS_CONFIG_FILE", "fake-file-this-must-not-exist")
44
+
45
const challenge = "asdf12345"
46
47
for desc, tc := range map[string]struct {
0 commit comments