Cloudwatch unable to create datasource using credential file

Hi All,

I am in deep water. I have multiple profiles set on my computer where the profiles all the profiles are sourcing the default one. Now when I try to use the profile settings on my computer using the “Credential file” option under cloudwatch data sources. It results in the below error. Any idea what could be wrong?

Failed to call cloudwatch:ListMetrics, NoCredentialProviders: no valid providers in chain. Deprecated.\n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors"

The credential is working fine when I use the was cli command from both my user and the user which runs grafana.

      Name                    Value             Type    Location
      ----                    -----             ----    --------
   profile              bigdata           manual    --profile
access_key     ****************NEX2      assume-role
secret_key     ****************M9Lh      assume-role
    region                us-west-2      config-file    ~/.aws/config```

I have tried this on multiple OS and computers and it doesn't seem to work. 

**Note: This is not an EC2 instance.**