fix(test): Test_Run (aws) fluky test #4874
Labels
kind/testing
Categorizes issue or PR as related to a unit/integration test.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
Part of the
Test_Run
tests are falling.I found that this happened after configuring the default aws profile (
aws configure
command).If the region or account is not passed, then Trivy loads the default config for aws.
My suggestion: set the
AWS_PROFILE
environment variable in the test or add a newprofile
flag (similar to the aws cli) to use the passed profile.The text was updated successfully, but these errors were encountered: