When managing more then 1 account, there is no way to indicate which of the AWS CLI profiles to use.
The application should be able to take as a parameter for the "--provider aws" --profile so it will allow to specify which environment to scan.
example:
With provider indicated:
cleancloud scan --provider aws --provider bla --all-regions
If not indicated it should fill the parameter with default
cleancloud scan --provider aws --provider default --all-regions
When managing more then 1 account, there is no way to indicate which of the AWS CLI profiles to use.
The application should be able to take as a parameter for the "--provider aws" --profile so it will allow to specify which environment to scan.
example:
With provider indicated:
cleancloud scan --provider aws --provider bla --all-regions
If not indicated it should fill the parameter with default
cleancloud scan --provider aws --provider default --all-regions