TylerBrock / saw

Fast, multi-purpose tool for AWS CloudWatch Logs
MIT License
1.4k stars 77 forks source link

View logs via EC2 IAM Policy instead of aws credentials #66

Open tsposato opened 3 years ago

tsposato commented 3 years ago

Is there a way to have saw work via IAM policy instead of local aws credentials? The configuration I am testing works with 'awslogs' but when I saw saw I get the following:

[tsposato@PROD .aws]$ saw watch /fargate/Harbour/PROD/api-application
Error NoCredentialProviders: no valid providers in chain. Deprecated.
        For verbose messaging see aws.Config.CredentialsChainVerboseErrors