You should be authenticated with an AWS account with correct permission with either option (see full documentation):
AWS_ACCESS_KEY_ID
, AWS_SECRET_ACCESS_KEY
~/.aws/credentials
created via aws configure
AWS_PROFILE
Multi-account AWS support is available by using an account which can AssumeRole to other accounts.
In your config.yml
you need to specify one or morerole_arn
if you want to query multiple accounts in the following way:
accounts:- role_arn: <arn>