title: AWS CLI: The config profile (test) could not be found
body: <p>I am automating the AWS IAM user creation from Jenkins. We have multiple Accounts with programmatic access. I am trying to create user account for one account from CLI. It's working fine from CLI, but not from jenkins Pipeline. </p>
  
  <p>Output through CLI </p>
  
  <pre><code>aws iam create-user --user-name --profile test tets
  
  {
      "User": {
      "Path": "/",
      "UserName": "tets",
      "UserId": "AIDAXTRPYNIV6HK7XE43R",
      "Arn": "arn:aws:iam::523012434475:user/tets",
      "CreateDate": "2019-09-18T06:49:41Z"
  }
  
  
  
  node
  {
      stage ('creating IAM user'){
      sh 'aws iam create-user --user-name --profile test $Username'       
  }
  </code></pre>
  
  <blockquote>
    <p>The config profile (test) could not be found 
    is the error i am getting from Jenkins Pipeline. </p>
  </blockquote>
  
  <p>AWS CLI is configured on jenkins server. From ssh i am able to execute all the commands.</p>