title: AWS profile doesn't seem to be configured! Serverless framework error?
body: <p><strong>Background:-</strong>I have a gateway account( with no permissions) in which users are created and in order to access aws resources we use roles having admin access.</p>
  <p><strong>config file</strong></p>
  <pre><code>[profile gateway]
  region = ap-southeast-1
  output = json
  
  [profile DA]
  
  region = ap-south-1
  output = json
  role_arn = arn:aws:iam::xxxxxxxxxxxxx:role/jatin
  mfa_serial = arn:aws:iam::xxxxxxxxxx:mfa/atin
  source_profile = gateway
  </code></pre>
  <p>credentials file</p>
  <pre><code>[gateway]
  aws_access_key_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  aws_secret_access_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  </code></pre>
  <p>Now I am trying to deploy my lambda using serverless deploy --aws-profile &quot;DA&quot;, it says <code>AWS profile &quot;DA&quot; doesn't seem to be configured</code></p>
  <p>however, if I run <code>aws s3 ls --profile &quot;DA&quot;</code> its works perfectly, so i guess there is no problem with the configuration of profiles and credentials</p>