title: aws cdk to use non-default profile
body: <p>I don't want to use my default aws profile  and account for cdk development</p>
  <p>So I created a new account  and a new  profile <code>cdkprof</code> using <code>aws configure --profile cdkprof</code> .</p>
  <p>I have verified in <code>~/.aws/credentials</code> and <code>~/.aws/config</code> files that the new profile created correctly. running <code>export AWS_PROFILE=cdkprof &amp;&amp; aws configure list &amp;&amp; aws sts get-caller-identity</code> returns me my profile details correctly.</p>
  <p>I have also exported</p>
  <ul>
  <li>CDK_DEFAULT_REGION,</li>
  <li>CDK_DEFAULT_ACCOUNT,</li>
  <li>AWS_DEFAULT_REGION,</li>
  <li>AWS_PROFILE,</li>
  <li>AWS_SECRET_ACCESS_KEY and</li>
  <li>AWS_ACCESS_KEY_ID</li>
  </ul>
  <p>and these are available as environment variables in bash.</p>
  <p>However when I try to run :</p>
  <pre><code>$ npx cdk bootstrap --profile cdkprof   
  </code></pre>
  <p>I get the error</p>
  <pre><code>Unable to resolve AWS account to use. It must be either configured when you define your CDK or through the environment
  </code></pre>
  <p>How do  I use my new profile and account with the cdk commands?</p>
  <p>Thanks.</p>