Skip to content

Commit

Permalink
test: disable IMDS to look up region in tests to fix Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ncw committed Apr 12, 2024
1 parent 3551b73 commit c1cf1b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions awscli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ func (tc *testCLI) command(method string, subcommand string, args ...string) *ex
cmd.Env = []string{
"AWS_ACCESS_KEY_ID=key",
"AWS_SECRET_ACCESS_KEY=secret",
"AWS_EC2_METADATA_DISABLED=true", // See: https://github.com/aws/aws-cli/issues/5234#issuecomment-705831465
}
return cmd
}
Expand Down

0 comments on commit c1cf1b1

Please sign in to comment.